You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

gitblit.properties 45KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368
  1. #
  2. # Gitblit Settings
  3. #
  4. # This settings file supports parameterization from the command-line for the
  5. # following command-line parameters:
  6. #
  7. # --baseFolder ${baseFolder} SINCE 1.2.1
  8. #
  9. # Settings that support ${baseFolder} parameter substitution are indicated with the
  10. # BASEFOLDER attribute. If the --baseFolder argument is unspecified, ${baseFolder}
  11. # and it's trailing / will be discarded from the setting value leaving a relative
  12. # path that is equivalent to pre-1.2.1 releases.
  13. #
  14. # e.g. "${baseFolder}/git" becomes "git", if --baseFolder is unspecified
  15. #
  16. # Git Servlet Settings
  17. #
  18. # Base folder for repositories.
  19. # This folder may contain bare and non-bare repositories but Gitblit will only
  20. # allow you to push to bare repositories.
  21. # Use forward slashes even on Windows!!
  22. # e.g. c:/gitrepos
  23. #
  24. # SINCE 0.5.0
  25. # RESTART REQUIRED
  26. # BASEFOLDER
  27. git.repositoriesFolder = ${baseFolder}/git
  28. # Build the available repository list at startup and cache this list for reuse.
  29. # This reduces disk io when presenting the repositories page, responding to rpcs,
  30. # etc, but it means that Gitblit will not automatically identify repositories
  31. # added or deleted by external tools.
  32. #
  33. # For this case you can use curl, wget, etc to issue an rpc request to clear the
  34. # cache (e.g. https://localhost/rpc?req=CLEAR_REPOSITORY_CACHE)
  35. #
  36. # SINCE 1.1.0
  37. git.cacheRepositoryList = true
  38. # Search the repositories folder subfolders for other repositories.
  39. # Repositories MAY NOT be nested (i.e. one repository within another)
  40. # but they may be grouped together in subfolders.
  41. # e.g. c:/gitrepos/libraries/mylibrary.git
  42. # c:/gitrepos/libraries/myotherlibrary.git
  43. #
  44. # SINCE 0.5.0
  45. git.searchRepositoriesSubfolders = true
  46. # Maximum number of folders to recurse into when searching for repositories.
  47. # The default value, -1, disables depth limits.
  48. #
  49. # SINCE 1.1.0
  50. git.searchRecursionDepth = -1
  51. # List of regex exclusion patterns to match against folders found in
  52. # *git.repositoriesFolder*.
  53. # Use forward slashes even on Windows!!
  54. # e.g. test/jgit\.git
  55. #
  56. # SPACE-DELIMITED
  57. # CASE-SENSITIVE
  58. # SINCE 1.1.0
  59. git.searchExclusions =
  60. # List of regex url patterns for extracting a repository name when locating
  61. # submodules.
  62. # e.g. git.submoduleUrlPatterns = .*?://github.com/(.*) will extract
  63. # *gitblit/gitblit.git* from *git://github.com/gitblit/gitblit.git*
  64. # If no matches are found then the submodule repository name is assumed to be
  65. # whatever trails the last / character. (e.g. gitblit.git).
  66. #
  67. # SPACE-DELIMITED
  68. # CASE-SENSITIVE
  69. # SINCE 1.1.0
  70. git.submoduleUrlPatterns = .*?://github.com/(.*)
  71. # Specify the interface for Git Daemon to bind it's service.
  72. # You may specify an ip or an empty value to bind to all interfaces.
  73. # Specifying localhost will result in Gitblit ONLY listening to requests to
  74. # localhost.
  75. #
  76. # SINCE 1.3.0
  77. # RESTART REQUIRED
  78. git.daemonBindInterface = localhost
  79. # port for serving the Git Daemon service. <= 0 disables this service.
  80. # On Unix/Linux systems, ports < 1024 require root permissions.
  81. # Recommended value: 9418
  82. #
  83. # SINCE 1.3.0
  84. # RESTART REQUIRED
  85. git.daemonPort = 9418
  86. # Allow push/pull over http/https with JGit servlet.
  87. # If you do NOT want to allow Git clients to clone/push to Gitblit set this
  88. # to false. You might want to do this if you are only using ssh:// or git://.
  89. # If you set this false, consider changing the *web.otherUrls* setting to
  90. # indicate your clone/push urls.
  91. #
  92. # SINCE 0.5.0
  93. git.enableGitServlet = true
  94. # If you want to restrict all git servlet access to those with valid X509 client
  95. # certificates then set this value to true.
  96. #
  97. # SINCE 1.2.0
  98. git.requiresClientCertificate = false
  99. # Enforce date checks on client certificates to ensure that they are not being
  100. # used prematurely and that they have not expired.
  101. #
  102. # SINCE 1.2.0
  103. git.enforceCertificateValidity = true
  104. # List of OIDs to extract from a client certificate DN to map a certificate to
  105. # an account username.
  106. #
  107. # e.g. git.certificateUsernameOIDs = CN
  108. # e.g. git.certificateUsernameOIDs = FirstName LastName
  109. #
  110. # SPACE-DELIMITED
  111. # SINCE 1.2.0
  112. git.certificateUsernameOIDs = CN
  113. # Only serve/display bare repositories.
  114. # If there are non-bare repositories in git.repositoriesFolder and this setting
  115. # is true, they will be excluded from the ui.
  116. #
  117. # SINCE 0.9.0
  118. git.onlyAccessBareRepositories = false
  119. # Allow an authenticated user to create a destination repository on a push if
  120. # the repository does not already exist.
  121. #
  122. # Administrator accounts can create a repository in any project.
  123. # These repositories are created with the default access restriction and authorization
  124. # control values. The pushing account is set as the owner.
  125. #
  126. # Non-administrator accounts with the CREATE role may create personal repositories.
  127. # These repositories are created as VIEW restricted for NAMED users.
  128. # The pushing account is set as the owner.
  129. #
  130. # SINCE 1.2.0
  131. git.allowCreateOnPush = true
  132. # The default access restriction for new repositories.
  133. # Valid values are NONE, PUSH, CLONE, VIEW
  134. # NONE = anonymous view, clone, & push
  135. # PUSH = anonymous view & clone and authenticated push
  136. # CLONE = anonymous view, authenticated clone & push
  137. # VIEW = authenticated view, clone, & push
  138. #
  139. # SINCE 1.0.0
  140. git.defaultAccessRestriction = NONE
  141. # The default authorization control for new repositories.
  142. # Valid values are AUTHENTICATED and NAMED
  143. # AUTHENTICATED = any authenticated user is granted restricted access
  144. # NAMED = only named users/teams are granted restricted access
  145. #
  146. # SINCE 1.1.0
  147. git.defaultAuthorizationControl = NAMED
  148. # The default incremental push tag prefix. Tag prefix applied to a repository
  149. # that has automatic push tags enabled and does not specify a custom tag prefix.
  150. #
  151. # If incremental push tags are enabled, the tips of each branch in the push will
  152. # be tagged with an increasing revision integer.
  153. #
  154. # e.g. refs/tags/r2345 or refs/tags/rev_2345
  155. #
  156. # SINCE 1.3.0
  157. git.defaultIncrementalPushTagPrefix = r
  158. # Enable JGit-based garbage collection. (!!EXPERIMENTAL!!)
  159. #
  160. # USE AT YOUR OWN RISK!
  161. #
  162. # If enabled, the garbage collection executor scans all repositories once a day
  163. # at the hour of your choosing. The GC executor will take each repository "offline",
  164. # one-at-a-time, to check if the repository satisfies it's GC trigger requirements.
  165. #
  166. # While the repository is offline it will be inaccessible from the web UI or from
  167. # any of the other services (git, rpc, rss, etc).
  168. #
  169. # Gitblit's GC Executor MAY NOT PLAY NICE with the other Git kids on the block,
  170. # especially on Windows systems, so if you are using other tools please coordinate
  171. # their usage with your GC Executor schedule or do not use this feature.
  172. #
  173. # The GC algorithm complex and the JGit team advises caution when using their
  174. # young implementation of GC.
  175. #
  176. # http://wiki.eclipse.org/EGit/New_and_Noteworthy/2.1#Garbage_Collector_and_Repository_Storage_Statistics
  177. #
  178. # EXPERIMENTAL
  179. # SINCE 1.2.0
  180. # RESTART REQUIRED
  181. git.enableGarbageCollection = false
  182. # Hour of the day for the GC Executor to scan repositories.
  183. # This value is in 24-hour time.
  184. #
  185. # SINCE 1.2.0
  186. git.garbageCollectionHour = 0
  187. # The default minimum total filesize of loose objects to trigger early garbage
  188. # collection.
  189. #
  190. # You may specify a custom threshold for a repository in the repository's settings.
  191. # Common unit suffixes of k, m, or g are supported.
  192. #
  193. # SINCE 1.2.0
  194. git.defaultGarbageCollectionThreshold = 500k
  195. # The default period, in days, between GCs for a repository. If the total filesize
  196. # of the loose object exceeds *git.garbageCollectionThreshold* or the repository's
  197. # custom threshold, this period will be short-circuited.
  198. #
  199. # e.g. if a repository collects 100KB of loose objects every day with a 500KB
  200. # threshold and a period of 7 days, it will take 5 days for the loose objects to
  201. # be collected, packed, and pruned.
  202. #
  203. # OR
  204. #
  205. # if a repository collects 10KB of loose objects every day with a 500KB threshold
  206. # and a period of 7 days, it will take the full 7 days for the loose objects to be
  207. # collected, packed, and pruned.
  208. #
  209. # You may specify a custom period for a repository in the repository's settings.
  210. #
  211. # The minimum value is 1 day since the GC Executor only runs once a day.
  212. #
  213. # SINCE 1.2.0
  214. git.defaultGarbageCollectionPeriod = 7
  215. # Number of bytes of a pack file to load into memory in a single read operation.
  216. # This is the "page size" of the JGit buffer cache, used for all pack access
  217. # operations. All disk IO occurs as single window reads. Setting this too large
  218. # may cause the process to load more data than is required; setting this too small
  219. # may increase the frequency of read() system calls.
  220. #
  221. # Default on JGit is 8 KiB on all platforms.
  222. #
  223. # Common unit suffixes of k, m, or g are supported.
  224. # Documentation courtesy of the Gerrit project.
  225. #
  226. # SINCE 1.0.0
  227. # RESTART REQUIRED
  228. git.packedGitWindowSize = 8k
  229. # Maximum number of bytes to load and cache in memory from pack files. If JGit
  230. # needs to access more than this many bytes it will unload less frequently used
  231. # windows to reclaim memory space within the process. As this buffer must be shared
  232. # with the rest of the JVM heap, it should be a fraction of the total memory available.
  233. #
  234. # The JGit team recommends setting this value larger than the size of your biggest
  235. # repository. This ensures you can serve most requests from memory.
  236. #
  237. # Default on JGit is 10 MiB on all platforms.
  238. #
  239. # Common unit suffixes of k, m, or g are supported.
  240. # Documentation courtesy of the Gerrit project.
  241. #
  242. # SINCE 1.0.0
  243. # RESTART REQUIRED
  244. git.packedGitLimit = 10m
  245. # Maximum number of bytes to reserve for caching base objects that multiple deltafied
  246. # objects reference. By storing the entire decompressed base object in a cache Git
  247. # is able to avoid unpacking and decompressing frequently used base objects multiple times.
  248. #
  249. # Default on JGit is 10 MiB on all platforms. You probably do not need to adjust
  250. # this value.
  251. #
  252. # Common unit suffixes of k, m, or g are supported.
  253. # Documentation courtesy of the Gerrit project.
  254. #
  255. # SINCE 1.0.0
  256. # RESTART REQUIRED
  257. git.deltaBaseCacheLimit = 10m
  258. # Maximum number of pack files to have open at once. A pack file must be opened
  259. # in order for any of its data to be available in a cached window.
  260. #
  261. # If you increase this to a larger setting you may need to also adjust the ulimit
  262. # on file descriptors for the host JVM, as Gitblit needs additional file descriptors
  263. # available for network sockets and other repository data manipulation.
  264. #
  265. # Default on JGit is 128 file descriptors on all platforms.
  266. # Documentation courtesy of the Gerrit project.
  267. #
  268. # SINCE 1.0.0
  269. # RESTART REQUIRED
  270. git.packedGitOpenFiles = 128
  271. # Largest object size, in bytes, that JGit will allocate as a contiguous byte
  272. # array. Any file revision larger than this threshold will have to be streamed,
  273. # typically requiring the use of temporary files under $GIT_DIR/objects to implement
  274. # psuedo-random access during delta decompression.
  275. #
  276. # Servers with very high traffic should set this to be larger than the size of
  277. # their common big files. For example a server managing the Android platform
  278. # typically has to deal with ~10-12 MiB XML files, so 15 m would be a reasonable
  279. # setting in that environment. Setting this too high may cause the JVM to run out
  280. # of heap space when handling very big binary files, such as device firmware or
  281. # CD-ROM ISO images. Make sure to adjust your JVM heap accordingly.
  282. #
  283. # Default is 50 MiB on all platforms.
  284. #
  285. # Common unit suffixes of k, m, or g are supported.
  286. # Documentation courtesy of the Gerrit project.
  287. #
  288. # SINCE 1.0.0
  289. # RESTART REQUIRED
  290. git.streamFileThreshold = 50m
  291. # When true, JGit will use mmap() rather than malloc()+read() to load data from
  292. # pack files. The use of mmap can be problematic on some JVMs as the garbage
  293. # collector must deduce that a memory mapped segment is no longer in use before
  294. # a call to munmap() can be made by the JVM native code.
  295. #
  296. # In server applications (such as Gitblit) that need to access many pack files,
  297. # setting this to true risks artificially running out of virtual address space,
  298. # as the garbage collector cannot reclaim unused mapped spaces fast enough.
  299. #
  300. # Default on JGit is false. Although potentially slower, it yields much more
  301. # predictable behavior.
  302. # Documentation courtesy of the Gerrit project.
  303. #
  304. # SINCE 1.0.0
  305. # RESTART REQUIRED
  306. git.packedGitMmap = false
  307. #
  308. # Groovy Integration
  309. #
  310. # Location of Groovy scripts to use for Pre and Post receive hooks.
  311. # Use forward slashes even on Windows!!
  312. # e.g. c:/groovy
  313. #
  314. # RESTART REQUIRED
  315. # SINCE 0.8.0
  316. # BASEFOLDER
  317. groovy.scriptsFolder = ${baseFolder}/groovy
  318. # Specify the directory Grape uses for downloading libraries.
  319. # http://groovy.codehaus.org/Grape
  320. #
  321. # RESTART REQUIRED
  322. # SINCE 1.0.0
  323. # BASEFOLDER
  324. groovy.grapeFolder = ${baseFolder}/groovy/grape
  325. # Scripts to execute on Pre-Receive.
  326. #
  327. # These scripts execute after an incoming push has been parsed and validated
  328. # but BEFORE the changes are applied to the repository. You might reject a
  329. # push in this script based on the repository and branch the push is attempting
  330. # to change.
  331. #
  332. # Script names are case-sensitive on case-sensitive file systems. You may omit
  333. # the traditional ".groovy" from this list if your file extension is ".groovy"
  334. #
  335. # NOTE:
  336. # These scripts are only executed when pushing to *Gitblit*, not to other Git
  337. # tooling you may be using. Also note that these scripts are shared between
  338. # repositories. These are NOT repository-specific scripts! Within the script
  339. # you may customize the control-flow for a specific repository by checking the
  340. # *repository* variable.
  341. #
  342. # SPACE-DELIMITED
  343. # CASE-SENSITIVE
  344. # SINCE 0.8.0
  345. groovy.preReceiveScripts =
  346. # Scripts to execute on Post-Receive.
  347. #
  348. # These scripts execute AFTER an incoming push has been applied to a repository.
  349. # You might trigger a continuous-integration build here or send a notification.
  350. #
  351. # Script names are case-sensitive on case-sensitive file systems. You may omit
  352. # the traditional ".groovy" from this list if your file extension is ".groovy"
  353. #
  354. # NOTE:
  355. # These scripts are only executed when pushing to *Gitblit*, not to other Git
  356. # tooling you may be using. Also note that these scripts are shared between
  357. # repositories. These are NOT repository-specific scripts! Within the script
  358. # you may customize the control-flow for a specific repository by checking the
  359. # *repository* variable.
  360. #
  361. # SPACE-DELIMITED
  362. # CASE-SENSITIVE
  363. # SINCE 0.8.0
  364. groovy.postReceiveScripts =
  365. # Repository custom fields for Groovy Hook mechanism
  366. #
  367. # List of key=label pairs of custom fields to prompt for in the Edit Repository
  368. # page. These keys are stored in the repository's git config file in the
  369. # section [gitblit "customFields"]. Key names are alphanumeric only. These
  370. # fields are intended to be used for the Groovy hook mechanism where a script
  371. # can adjust it's execution based on the custom fields stored in the repository
  372. # config.
  373. #
  374. # e.g. "commitMsgRegex=Commit Message Regular Expression" anotherProperty=Another
  375. #
  376. # SPACE-DELIMITED
  377. # SINCE 1.0.0
  378. groovy.customFields =
  379. #
  380. # Fanout Settings
  381. #
  382. # Fanout is a PubSub notification service that can be used by Sparkleshare
  383. # to eliminate repository change polling. The fanout service runs in a separate
  384. # thread on a separate port from the Gitblit http/https application.
  385. # This service is provided so that Sparkleshare may be used with Gitblit in
  386. # firewalled environments or where reliance on Sparkleshare's default notifications
  387. # server (notifications.sparkleshare.org) is unwanted.
  388. #
  389. # This service maintains an open socket connection from the client to the
  390. # Fanout PubSub service. This service may not work properly behind a proxy server.
  391. # Specify the interface for Fanout to bind it's service.
  392. # You may specify an ip or an empty value to bind to all interfaces.
  393. # Specifying localhost will result in Gitblit ONLY listening to requests to
  394. # localhost.
  395. #
  396. # SINCE 1.2.1
  397. # RESTART REQUIRED
  398. fanout.bindInterface = localhost
  399. # port for serving the Fanout PubSub service. <= 0 disables this service.
  400. # On Unix/Linux systems, ports < 1024 require root permissions.
  401. # Recommended value: 17000
  402. #
  403. # SINCE 1.2.1
  404. # RESTART REQUIRED
  405. fanout.port = 0
  406. # Use Fanout NIO service. If false, a multi-threaded socket service will be used.
  407. # Be advised, the socket implementation spawns a thread per connection plus the
  408. # connection acceptor thread. The NIO implementation is completely single-threaded.
  409. #
  410. # SINCE 1.2.1
  411. # RESTART REQUIRED
  412. fanout.useNio = true
  413. # Concurrent connection limit. <= 0 disables concurrent connection throttling.
  414. # If > 0, only the specified number of concurrent connections will be allowed
  415. # and all other connections will be rejected.
  416. #
  417. # SINCE 1.2.1
  418. # RESTART REQUIRED
  419. fanout.connectionLimit = 0
  420. #
  421. # Authentication Settings
  422. #
  423. # Require authentication to see everything but the admin pages
  424. #
  425. # SINCE 0.5.0
  426. # RESTART REQUIRED
  427. web.authenticateViewPages = false
  428. # If web.authenticateViewPages=true you may optionally require a client-side
  429. # basic authentication prompt instead of the standard form-based login.
  430. #
  431. # SINCE 1.3.0
  432. web.enforceHttpBasicAuthentication = false
  433. # Require admin authentication for the admin functions and pages
  434. #
  435. # SINCE 0.5.0
  436. # RESTART REQUIRED
  437. web.authenticateAdminPages = true
  438. # Allow Gitblit to store a cookie in the user's browser for automatic
  439. # authentication. The cookie is generated by the user service.
  440. #
  441. # SINCE 0.5.0
  442. web.allowCookieAuthentication = true
  443. # Config file for storing project metadata
  444. #
  445. # SINCE 1.2.0
  446. # BASEFOLDER
  447. web.projectsFile = ${baseFolder}/projects.conf
  448. # Either the full path to a user config file (users.conf)
  449. # OR the full path to a simple user properties file (users.properties)
  450. # OR a fully qualified class name that implements the IUserService interface.
  451. #
  452. # Alternative user services:
  453. # com.gitblit.LdapUserService
  454. # com.gitblit.RedmineUserService
  455. #
  456. # Any custom user service implementation must have a public default constructor.
  457. #
  458. # SINCE 0.5.0
  459. # RESTART REQUIRED
  460. # BASEFOLDER
  461. realm.userService = ${baseFolder}/users.conf
  462. # How to store passwords.
  463. # Valid values are plain, md5, or combined-md5. md5 is the hash of password.
  464. # combined-md5 is the hash of username.toLowerCase()+password.
  465. # Default is md5.
  466. #
  467. # SINCE 0.5.0
  468. realm.passwordStorage = md5
  469. # Minimum valid length for a plain text password.
  470. # Default value is 5. Absolute minimum is 4.
  471. #
  472. # SINCE 0.5.0
  473. realm.minPasswordLength = 5
  474. #
  475. # Gitblit Web Settings
  476. #
  477. # If blank Gitblit is displayed.
  478. #
  479. # SINCE 0.5.0
  480. web.siteName =
  481. # If *web.authenticateAdminPages*=true, users with "admin" role can create
  482. # repositories, create users, and edit repository metadata.
  483. #
  484. # If *web.authenticateAdminPages*=false, any user can execute the aforementioned
  485. # functions.
  486. #
  487. # SINCE 0.5.0
  488. web.allowAdministration = true
  489. # Allows rpc clients to list repositories and possibly manage or administer the
  490. # Gitblit server, if the authenticated account has administrator permissions.
  491. # See *web.enableRpcManagement* and *web.enableRpcAdministration*.
  492. #
  493. # SINCE 0.7.0
  494. web.enableRpcServlet = true
  495. # Allows rpc clients to manage repositories and users of the Gitblit instance,
  496. # if the authenticated account has administrator permissions.
  497. # Requires *web.enableRpcServlet=true*.
  498. #
  499. # SINCE 0.7.0
  500. web.enableRpcManagement = false
  501. # Allows rpc clients to control the server settings and monitor the health of this
  502. # this Gitblit instance, if the authenticated account has administrator permissions.
  503. # Requires *web.enableRpcServlet=true* and *web.enableRpcManagement*.
  504. #
  505. # SINCE 0.7.0
  506. web.enableRpcAdministration = false
  507. # Full path to a configurable robots.txt file. With this file you can control
  508. # what parts of your Gitblit server respectable robots are allowed to traverse.
  509. # http://googlewebmastercentral.blogspot.com/2008/06/improving-on-robots-exclusion-protocol.html
  510. #
  511. # SINCE 1.0.0
  512. # BASEFOLDER
  513. web.robots.txt = ${baseFolder}/robots.txt
  514. # If true, the web ui layout will respond and adapt to the browser's dimensions.
  515. # if false, the web ui will use a 940px fixed-width layout.
  516. # http://twitter.github.com/bootstrap/scaffolding.html#responsive
  517. #
  518. # SINCE 1.0.0
  519. web.useResponsiveLayout = true
  520. # Allow Gravatar images to be displayed in Gitblit pages.
  521. #
  522. # SINCE 0.8.0
  523. web.allowGravatar = true
  524. # Allow dynamic zip downloads.
  525. #
  526. # SINCE 0.5.0
  527. web.allowZipDownloads = true
  528. # If *web.allowZipDownloads=true* the following formats will be displayed for
  529. # download compressed archive links:
  530. #
  531. # zip = standard .zip
  532. # tar = standard tar format (preserves *nix permissions and symlinks)
  533. # gz = gz-compressed tar
  534. # xz = xz-compressed tar
  535. # bzip2 = bzip2-compressed tar
  536. #
  537. # SPACE-DELIMITED
  538. # SINCE 1.2.0
  539. web.compressedDownloads = zip gz
  540. # Allow optional Lucene integration. Lucene indexing is an opt-in feature.
  541. # A repository may specify branches to index with Lucene instead of using Git
  542. # commit traversal. There are scenarios where you may want to completely disable
  543. # Lucene indexing despite a repository specifying indexed branches. One such
  544. # scenario is on a resource-constrained federated Gitblit mirror.
  545. #
  546. # SINCE 0.9.0
  547. web.allowLuceneIndexing = true
  548. # Allows an authenticated user to create forks of a repository
  549. #
  550. # set this to false if you want to disable all fork controls on the web site
  551. #
  552. web.allowForking = true
  553. # Controls the length of shortened commit hash ids
  554. #
  555. # SINCE 1.2.0
  556. web.shortCommitIdLength = 6
  557. # Use Clippy (Flash solution) to provide a copy-to-clipboard button.
  558. # If false, a button with a more primitive JavaScript-based prompt box will
  559. # offer a 3-step (click, ctrl+c, enter) copy-to-clipboard alternative.
  560. #
  561. # SINCE 0.8.0
  562. web.allowFlashCopyToClipboard = true
  563. # Default maximum number of commits that a repository may contribute to the
  564. # activity page, regardless of the selected duration. This setting may be valuable
  565. # for an extremely busy server. This value may also be configed per-repository
  566. # in Edit Repository. 0 disables this throttle.
  567. #
  568. # SINCE 1.2.0
  569. web.maxActivityCommits = 0
  570. # Default number of entries to include in RSS Syndication links
  571. #
  572. # SINCE 0.5.0
  573. web.syndicationEntries = 25
  574. # Show the size of each repository on the repositories page.
  575. # This requires recursive traversal of each repository folder. This may be
  576. # non-performant on some operating systems and/or filesystems.
  577. #
  578. # SINCE 0.5.2
  579. web.showRepositorySizes = true
  580. # List of custom regex expressions that can be displayed in the Filters menu
  581. # of the Repositories and Activity pages. Keep them very simple because you
  582. # are likely to run into encoding issues if they are too complex.
  583. #
  584. # Use !!! to separate the filters
  585. #
  586. # SINCE 0.8.0
  587. web.customFilters =
  588. # Show federation registrations (without token) and the current pull status
  589. # to non-administrator users.
  590. #
  591. # SINCE 0.6.0
  592. web.showFederationRegistrations = false
  593. # This is the message displayed when *web.authenticateViewPages=true*.
  594. # This can point to a file with Markdown content.
  595. # Specifying "gitblit" uses the internal login message.
  596. #
  597. # SINCE 0.7.0
  598. # BASEFOLDER
  599. web.loginMessage = gitblit
  600. # This is the message displayed above the repositories table.
  601. # This can point to a file with Markdown content.
  602. # Specifying "gitblit" uses the internal welcome message.
  603. #
  604. # SINCE 0.5.0
  605. # BASEFOLDER
  606. web.repositoriesMessage = gitblit
  607. # Ordered list of charsets/encodings to use when trying to display a blob.
  608. # If empty, UTF-8 and ISO-8859-1 are used. The server's default charset
  609. # is always appended to the encoding list. If all encodings fail to cleanly
  610. # decode the blob content, UTF-8 will be used with the standard malformed
  611. # input/unmappable character replacement strings.
  612. #
  613. # SPACE-DELIMITED
  614. # SINCE 1.0.0
  615. web.blobEncodings = UTF-8 ISO-8859-1
  616. # Manually set the default timezone to be used by Gitblit for display in the
  617. # web ui. This value is independent of the JVM timezone. Specifying a blank
  618. # value will default to the JVM timezone.
  619. # e.g. America/New_York, US/Pacific, UTC, Europe/Berlin
  620. #
  621. # SINCE 0.9.0
  622. # RESTART REQUIRED
  623. web.timezone =
  624. # Use the client timezone when formatting dates.
  625. # This uses AJAX to determine the browser's timezone and may require more
  626. # server overhead because a Wicket session is created. All Gitblit pages
  627. # attempt to be stateless, if possible.
  628. #
  629. # SINCE 0.5.0
  630. # RESTART REQUIRED
  631. web.useClientTimezone = false
  632. # Time format
  633. # <http://download.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html>
  634. #
  635. # SINCE 0.8.0
  636. web.timeFormat = HH:mm
  637. # Short date format
  638. # <http://download.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html>
  639. #
  640. # SINCE 0.5.0
  641. web.datestampShortFormat = yyyy-MM-dd
  642. # Long date format
  643. #
  644. # SINCE 0.8.0
  645. web.datestampLongFormat = EEEE, MMMM d, yyyy
  646. # Long timestamp format
  647. # <http://download.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html>
  648. #
  649. # SINCE 0.5.0
  650. web.datetimestampLongFormat = EEEE, MMMM d, yyyy HH:mm Z
  651. # Mount URL parameters
  652. # This setting controls if pretty or parameter URLs are used.
  653. # i.e.
  654. # if true:
  655. # http://localhost/commit/myrepo/abcdef
  656. # if false:
  657. # http://localhost/commit/?r=myrepo&h=abcdef
  658. #
  659. # SINCE 0.5.0
  660. # RESTART REQUIRED
  661. web.mountParameters = true
  662. # Some servlet containers (e.g. Tomcat >= 6.0.10) disallow '/' (%2F) encoding
  663. # in URLs as a security precaution for proxies. This setting tells Gitblit
  664. # to preemptively replace '/' with '*' or '!' for url string parameters.
  665. #
  666. # <https://issues.apache.org/jira/browse/WICKET-1303>
  667. # <http://tomcat.apache.org/security-6.html#Fixed_in_Apache_Tomcat_6.0.10>
  668. # Add *-Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true* to your
  669. # *CATALINA_OPTS* or to your JVM launch parameters
  670. #
  671. # SINCE 0.5.2
  672. web.forwardSlashCharacter = /
  673. # Show other URLs on the summary page for accessing your git repositories
  674. # Use spaces to separate urls.
  675. #
  676. # {0} is the token for the repository name
  677. # {1} is the token for the username
  678. #
  679. # The username is only practical if you have setup your other git serving
  680. # solutions accounts to have the same username as the Gitblit account.
  681. #
  682. # e.g.
  683. # web.otherUrls = ssh://localhost/git/{0} git://localhost/git/{0} https://{1}@localhost/r/{0}
  684. #
  685. # SPACE-DELIMITED
  686. # SINCE 0.5.0
  687. web.otherUrls =
  688. # Should app-specific clone links be displayed for SourceTree, SparkleShare, etc?
  689. #
  690. # SINCE 1.3.0
  691. web.allowAppCloneLinks = true
  692. # Choose how to present the repositories list.
  693. # grouped = group nested/subfolder repositories together (no sorting)
  694. # flat = flat list of repositories (sorting allowed)
  695. #
  696. # SINCE 0.5.0
  697. web.repositoryListType = grouped
  698. # If using a grouped repository list and there are repositories at the
  699. # root level of your repositories folder, you may specify the displayed
  700. # group name with this setting. This value is only used for web presentation.
  701. #
  702. # SINCE 0.5.0
  703. web.repositoryRootGroupName = main
  704. # Display the repository swatch color next to the repository name link in the
  705. # repositories list.
  706. #
  707. # SINCE 0.8.0
  708. web.repositoryListSwatches = true
  709. # Choose the diff presentation style: gitblt, gitweb, or plain
  710. #
  711. # SINCE 0.5.0
  712. web.diffStyle = gitblit
  713. # Control if email addresses are shown in web ui
  714. #
  715. # SINCE 0.5.0
  716. web.showEmailAddresses = true
  717. # Shows a combobox in the page links header with commit, committer, and author
  718. # search selection. Default search is commit.
  719. #
  720. # SINCE 0.5.0
  721. web.showSearchTypeSelection = false
  722. # Generates a line graph of repository activity over time on the Summary page.
  723. # This uses the Google Charts API.
  724. #
  725. # SINCE 0.5.0
  726. web.generateActivityGraph = true
  727. # The number of days to show on the activity page.
  728. # Value must exceed 0 else default of 14 is used
  729. #
  730. # SINCE 0.8.0
  731. web.activityDuration = 14
  732. # The number of commits to display on the summary page
  733. # Value must exceed 0 else default of 20 is used
  734. #
  735. # SINCE 0.5.0
  736. web.summaryCommitCount = 16
  737. # The number of tags/branches to display on the summary page.
  738. # -1 = all tags/branches
  739. # 0 = hide tags/branches
  740. # N = N tags/branches
  741. #
  742. # SINCE 0.5.0
  743. web.summaryRefsCount = 5
  744. # The number of items to show on a page before showing the first, prev, next
  745. # pagination links. A default if 50 is used for any invalid value.
  746. #
  747. # SINCE 0.5.0
  748. web.itemsPerPage = 50
  749. # Registered file extensions to ignore during Lucene indexing
  750. #
  751. # SPACE-DELIMITED
  752. # SINCE 0.9.0
  753. web.luceneIgnoreExtensions = 7z arc arj bin bmp dll doc docx exe gif gz jar jpg lib lzh odg odf odt pdf ppt png so swf xcf xls xlsx zip
  754. # Registered extensions for google-code-prettify
  755. #
  756. # SPACE-DELIMITED
  757. # SINCE 0.5.0
  758. web.prettyPrintExtensions = aea agc basic c cbm cl clj cpp cs css dart el erl erlang frm fs go groovy hs htm html java js latex lisp ll llvm lsp lua ml moxie mumps n nemerle pascal php pl prefs properties proto py r R rb rd Rd rkt s S scala scm sh Splus sql ss tcl tex vb vbs vhd vhdl wiki xml xq xquery yaml yml ymlapollo
  759. # Registered extensions for markdown transformation
  760. #
  761. # SPACE-DELIMITED
  762. # CASE-SENSITIVE
  763. # SINCE 0.5.0
  764. web.markdownExtensions = md mkd markdown MD MKD
  765. # Image extensions
  766. #
  767. # SPACE-DELIMITED
  768. # SINCE 0.5.0
  769. web.imageExtensions = bmp jpg gif png
  770. # Registered extensions for binary blobs
  771. #
  772. # SPACE-DELIMITED
  773. # SINCE 0.5.0
  774. web.binaryExtensions = jar pdf tar.gz zip
  775. # Aggressive heap management will run the garbage collector on every generated
  776. # page. This slows down page generation a little but improves heap consumption.
  777. #
  778. # SINCE 0.5.0
  779. web.aggressiveHeapManagement = false
  780. # Run the webapp in debug mode
  781. #
  782. # SINCE 0.5.0
  783. # RESTART REQUIRED
  784. web.debugMode = false
  785. # Force a default locale for all users, ignoring the browser's settings.
  786. # An empty value allows Gitblit to use the translation preferred by the browser.
  787. #
  788. # Changing this value while the server is running will only affect new sessions.
  789. #
  790. # e.g. web.forceDefaultLocale = en
  791. #
  792. # SINCE 1.3.0
  793. web.forceDefaultLocale =
  794. # Enable/disable global regex substitutions (i.e. shared across repositories)
  795. #
  796. # SINCE 0.5.0
  797. regex.global = true
  798. # Example global regex substitutions
  799. # Use !!! to separate the search pattern and the replace pattern
  800. # searchpattern!!!replacepattern
  801. # SINCE 0.5.0
  802. regex.global.bug = \\b(Bug:)(\\s*[#]?|-){0,1}(\\d+)\\b!!!<a href="http://somehost/bug/$3">Bug-Id: $3</a>
  803. # SINCE 0.5.0
  804. regex.global.changeid = \\b(Change-Id:\\s*)([A-Za-z0-9]*)\\b!!!<a href="http://somehost/changeid/$2">Change-Id: $2</a>
  805. # Example per-repository regex substitutions overrides global
  806. # SINCE 0.5.0
  807. regex.myrepository.bug = \\b(Bug:)(\\s*[#]?|-){0,1}(\\d+)\\b!!!<a href="http://elsewhere/bug/$3">Bug-Id: $3</a>
  808. #
  809. # Mail Settings
  810. # SINCE 0.6.0
  811. #
  812. # Mail settings are used to notify administrators of received federation proposals
  813. #
  814. # ip or hostname of smtp server
  815. #
  816. # SINCE 0.6.0
  817. mail.server =
  818. # port to use for smtp requests
  819. #
  820. # SINCE 0.6.0
  821. mail.port = 25
  822. # debug the mail executor
  823. #
  824. # SINCE 0.6.0
  825. mail.debug = false
  826. # if your smtp server requires authentication, supply the credentials here
  827. #
  828. # SINCE 0.6.0
  829. mail.username =
  830. # SINCE 0.6.0
  831. mail.password =
  832. # from address for generated emails
  833. #
  834. # SINCE 0.6.0
  835. mail.fromAddress =
  836. # List of email addresses for the Gitblit administrators
  837. #
  838. # SPACE-DELIMITED
  839. # SINCE 0.6.0
  840. mail.adminAddresses =
  841. # List of email addresses for sending push email notifications.
  842. #
  843. # This key currently requires use of the sendemail.groovy hook script.
  844. # If you set sendemail.groovy in *groovy.postReceiveScripts* then email
  845. # notifications for all repositories (regardless of access restrictions!)
  846. # will be sent to these addresses.
  847. #
  848. # SPACE-DELIMITED
  849. # SINCE 0.8.0
  850. mail.mailingLists =
  851. #
  852. # Federation Settings
  853. # SINCE 0.6.0
  854. #
  855. # A Gitblit federation is a way to backup one Gitblit instance to another.
  856. #
  857. # *git.enableGitServlet* must be true to use this feature.
  858. # Your federation name is used for federation status acknowledgments. If it is
  859. # unset, and you elect to send a status acknowledgment, your Gitblit instance
  860. # will be identified by its hostname, if available, else your internal ip address.
  861. # The source Gitblit instance will also append your external IP address to your
  862. # identification to differentiate multiple pulling systems behind a single proxy.
  863. #
  864. # SINCE 0.6.0
  865. federation.name =
  866. # Specify the passphrase of this Gitblit instance.
  867. #
  868. # An unspecified (empty) passphrase disables processing federation requests.
  869. #
  870. # This value can be anything you want: an integer, a sentence, an haiku, etc.
  871. # Keep the value simple, though, to avoid Java properties file encoding issues.
  872. #
  873. # Changing your passphrase will break any registrations you have established with other
  874. # Gitblit instances.
  875. #
  876. # CASE-SENSITIVE
  877. # SINCE 0.6.0
  878. # RESTART REQUIRED *(only to enable or disable federation)*
  879. federation.passphrase =
  880. # Control whether or not this Gitblit instance can receive federation proposals
  881. # from another Gitblit instance. Registering a federated Gitblit is a manual
  882. # process. Proposals help to simplify that process by allowing a remote Gitblit
  883. # instance to send your Gitblit instance the federation pull data.
  884. #
  885. # SINCE 0.6.0
  886. federation.allowProposals = false
  887. # The destination folder for cached federation proposals.
  888. # Use forward slashes even on Windows!!
  889. #
  890. # SINCE 0.6.0
  891. # BASEFOLDER
  892. federation.proposalsFolder = ${baseFolder}/proposals
  893. # The default pull frequency if frequency is unspecified on a registration
  894. #
  895. # SINCE 0.6.0
  896. federation.defaultFrequency = 60 mins
  897. # Federation Sets are named groups of repositories. The Federation Sets are
  898. # available for selection in the repository settings page. You can assign a
  899. # repository to one or more sets and then distribute the token for the set.
  900. # This allows you to grant federation pull access to a subset of your available
  901. # repositories. Tokens for federation sets only grant repository pull access.
  902. #
  903. # SPACE-DELIMITED
  904. # CASE-SENSITIVE
  905. # SINCE 0.6.0
  906. federation.sets =
  907. # Federation pull registrations
  908. # Registrations are read once, at startup.
  909. #
  910. # RESTART REQUIRED
  911. #
  912. # frequency:
  913. # The shortest frequency allowed is every 5 minutes
  914. # Decimal frequency values are cast to integers
  915. # Frequency values may be specified in mins, hours, or days
  916. # Values that can not be parsed or are unspecified default to *federation.defaultFrequency*
  917. #
  918. # folder:
  919. # if unspecified, the folder is *git.repositoriesFolder*
  920. # if specified, the folder is relative to *git.repositoriesFolder*
  921. #
  922. # bare:
  923. # if true, each repository will be created as a *bare* repository and will not
  924. # have a working directory.
  925. #
  926. # if false, each repository will be created as a normal repository suitable
  927. # for local work.
  928. #
  929. # mirror:
  930. # if true, each repository HEAD is reset to *origin/master* after each pull.
  931. # The repository will be flagged *isFrozen* after the initial clone.
  932. #
  933. # if false, each repository HEAD will point to the FETCH_HEAD of the initial
  934. # clone from the origin until pushed to or otherwise manipulated.
  935. #
  936. # mergeAccounts:
  937. # if true, remote accounts and their permissions are merged into your
  938. # users.properties file
  939. #
  940. # notifyOnError:
  941. # if true and the mail configuration is properly set, administrators will be
  942. # notified by email of pull failures
  943. #
  944. # include and exclude:
  945. # Space-delimited list of repositories to include or exclude from pull
  946. # may be * wildcard to include or exclude all
  947. # may use fuzzy match (e.g. org.eclipse.*)
  948. #
  949. # (Nearly) Perfect Mirror example
  950. #
  951. #federation.example1.url = https://go.gitblit.com
  952. #federation.example1.token = 6f3b8a24bf970f17289b234284c94f43eb42f0e4
  953. #federation.example1.frequency = 120 mins
  954. #federation.example1.folder =
  955. #federation.example1.bare = true
  956. #federation.example1.mirror = true
  957. #federation.example1.mergeAccounts = true
  958. #
  959. # Advanced Realm Settings
  960. #
  961. # URL of the LDAP server.
  962. # To use encrypted transport, use either ldaps:// URL for SSL or ldap+tls:// to
  963. # send StartTLS command.
  964. #
  965. # SINCE 1.0.0
  966. realm.ldap.server = ldap://localhost
  967. # Login username for LDAP searches.
  968. # If this value is unspecified, anonymous LDAP login will be used.
  969. #
  970. # e.g. mydomain\\username
  971. #
  972. # SINCE 1.0.0
  973. realm.ldap.username = cn=Directory Manager
  974. # Login password for LDAP searches.
  975. #
  976. # SINCE 1.0.0
  977. realm.ldap.password = password
  978. # The LdapUserService must be backed by another user service for standard user
  979. # and team management.
  980. # default: users.conf
  981. #
  982. # SINCE 1.0.0
  983. # RESTART REQUIRED
  984. # BASEFOLDER
  985. realm.ldap.backingUserService = ${baseFolder}/users.conf
  986. # Delegate team membership control to LDAP.
  987. #
  988. # If true, team user memberships will be specified by LDAP groups. This will
  989. # disable team selection in Edit User and user selection in Edit Team.
  990. #
  991. # If false, LDAP will only be used for authentication and Gitblit will maintain
  992. # team memberships with the *realm.ldap.backingUserService*.
  993. #
  994. # SINCE 1.0.0
  995. realm.ldap.maintainTeams = false
  996. # Root node for all LDAP users
  997. #
  998. # This is the root node from which subtree user searches will begin.
  999. # If blank, Gitblit will search ALL nodes.
  1000. #
  1001. # SINCE 1.0.0
  1002. realm.ldap.accountBase = OU=Users,OU=UserControl,OU=MyOrganization,DC=MyDomain
  1003. # Filter criteria for LDAP users
  1004. #
  1005. # Query pattern to use when searching for a user account. This may be any valid
  1006. # LDAP query expression, including the standard (&) and (|) operators.
  1007. #
  1008. # Variables may be injected via the ${variableName} syntax.
  1009. # Recognized variables are:
  1010. # ${username} - The text entered as the user name
  1011. #
  1012. # SINCE 1.0.0
  1013. realm.ldap.accountPattern = (&(objectClass=person)(sAMAccountName=${username}))
  1014. # Root node for all LDAP groups to be used as Gitblit Teams
  1015. #
  1016. # This is the root node from which subtree team searches will begin.
  1017. # If blank, Gitblit will search ALL nodes.
  1018. #
  1019. # SINCE 1.0.0
  1020. realm.ldap.groupBase = OU=Groups,OU=UserControl,OU=MyOrganization,DC=MyDomain
  1021. # Filter criteria for LDAP groups
  1022. #
  1023. # Query pattern to use when searching for a team. This may be any valid
  1024. # LDAP query expression, including the standard (&) and (|) operators.
  1025. #
  1026. # Variables may be injected via the ${variableName} syntax.
  1027. # Recognized variables are:
  1028. # ${username} - The text entered as the user name
  1029. # ${dn} - The Distinguished Name of the user logged in
  1030. #
  1031. # All attributes from the LDAP User record are available. For example, if a user
  1032. # has an attribute "fullName" set to "John", "(fn=${fullName})" will be
  1033. # translated to "(fn=John)".
  1034. #
  1035. # SINCE 1.0.0
  1036. realm.ldap.groupMemberPattern = (&(objectClass=group)(member=${dn}))
  1037. # LDAP users or groups that should be given administrator privileges.
  1038. #
  1039. # Teams are specified with a leading '@' character. Groups with spaces in the
  1040. # name can be entered as "@team name".
  1041. #
  1042. # e.g. realm.ldap.admins = john @git_admins "@git admins"
  1043. #
  1044. # SPACE-DELIMITED
  1045. # SINCE 1.0.0
  1046. realm.ldap.admins = @Git_Admins
  1047. # Attribute(s) on the USER record that indicate their display (or full) name.
  1048. # Leave blank for no mapping available in LDAP.
  1049. #
  1050. # This may be a single attribute, or a string of multiple attributes. Examples:
  1051. # displayName - Uses the attribute 'displayName' on the user record
  1052. # ${personalTitle}. ${givenName} ${surname} - Will concatenate the 3
  1053. # attributes together, with a '.' after personalTitle
  1054. #
  1055. # SINCE 1.0.0
  1056. realm.ldap.displayName = displayName
  1057. # Attribute(s) on the USER record that indicate their email address.
  1058. # Leave blank for no mapping available in LDAP.
  1059. #
  1060. # This may be a single attribute, or a string of multiple attributes. Examples:
  1061. # email - Uses the attribute 'email' on the user record
  1062. # ${givenName}.${surname}@gitblit.com -Will concatenate the 2 attributes
  1063. # together with a '.' and '@' creating something like first.last@gitblit.com
  1064. #
  1065. # SINCE 1.0.0
  1066. realm.ldap.email = email
  1067. # Defines the cache period to be used when caching LDAP queries. This is currently
  1068. # only used for LDAP user synchronization.
  1069. #
  1070. # Must be of the form '<long> <TimeUnit>' where <TimeUnit> is one of 'MILLISECONDS', 'SECONDS', 'MINUTES', 'HOURS', 'DAYS'
  1071. # default: 2 MINUTES
  1072. #
  1073. # RESTART REQUIRED
  1074. realm.ldap.ldapCachePeriod = 2 MINUTES
  1075. # Defines whether to synchronize all LDAP users into the backing user service
  1076. #
  1077. # Valid values: true, false
  1078. # If left blank, false is assumed
  1079. realm.ldap.synchronizeUsers.enable = false
  1080. # Defines whether to delete non-existent LDAP users from the backing user service
  1081. # during synchronization. depends on realm.ldap.synchronizeUsers.enable = true
  1082. #
  1083. # Valid values: true, false
  1084. # If left blank, true is assumed
  1085. realm.ldap.synchronizeUsers.removeDeleted = true
  1086. # Attribute on the USER record that indicate their username to be used in gitblit
  1087. # when synchronizing users from LDAP
  1088. # if blank, Gitblit will use uid
  1089. # For MS Active Directory this may be sAMAccountName
  1090. realm.ldap.uid = uid
  1091. # The RedmineUserService must be backed by another user service for standard user
  1092. # and team management.
  1093. # default: users.conf
  1094. #
  1095. # RESTART REQUIRED
  1096. # BASEFOLDER
  1097. realm.redmine.backingUserService = ${baseFolder}/users.conf
  1098. # URL of the Redmine.
  1099. realm.redmine.url = http://example.com/redmine
  1100. #
  1101. # Server Settings
  1102. #
  1103. # The temporary folder to decompress the embedded gitblit webapp.
  1104. #
  1105. # SINCE 0.5.0
  1106. # RESTART REQUIRED
  1107. # BASEFOLDER
  1108. server.tempFolder = ${baseFolder}/temp
  1109. # Use Jetty NIO connectors. If false, Jetty Socket connectors will be used.
  1110. #
  1111. # SINCE 0.5.0
  1112. # RESTART REQUIRED
  1113. server.useNio = true
  1114. # If using Jetty NIO connectors, specify the maximum number of concurrent
  1115. # http/https worker threads to allow.
  1116. #
  1117. # SINCE 1.3.0
  1118. # RESTART REQUIRED
  1119. server.nioThreadPoolSize = 50
  1120. # Context path for the GO application. You might want to change the context
  1121. # path if running Gitblit behind a proxy layer such as mod_proxy.
  1122. #
  1123. # SINCE 0.7.0
  1124. # RESTART REQUIRED
  1125. server.contextPath = /
  1126. # Standard http port to serve. <= 0 disables this connector.
  1127. # On Unix/Linux systems, ports < 1024 require root permissions.
  1128. # Recommended value: 80 or 8080
  1129. #
  1130. # SINCE 0.5.0
  1131. # RESTART REQUIRED
  1132. server.httpPort = 0
  1133. # Secure/SSL https port to serve. <= 0 disables this connector.
  1134. # On Unix/Linux systems, ports < 1024 require root permissions.
  1135. # Recommended value: 443 or 8443
  1136. #
  1137. # SINCE 0.5.0
  1138. # RESTART REQUIRED
  1139. server.httpsPort = 8443
  1140. # Port for serving an Apache JServ Protocol (AJP) 1.3 connector for integrating
  1141. # Gitblit GO into an Apache HTTP server setup. <= 0 disables this connector.
  1142. # Recommended value: 8009
  1143. #
  1144. # SINCE 0.9.0
  1145. # RESTART REQUIRED
  1146. server.ajpPort = 0
  1147. # Specify the interface for Jetty to bind the standard connector.
  1148. # You may specify an ip or an empty value to bind to all interfaces.
  1149. # Specifying localhost will result in Gitblit ONLY listening to requests to
  1150. # localhost.
  1151. #
  1152. # SINCE 0.5.0
  1153. # RESTART REQUIRED
  1154. server.httpBindInterface = localhost
  1155. # Specify the interface for Jetty to bind the secure connector.
  1156. # You may specify an ip or an empty value to bind to all interfaces.
  1157. # Specifying localhost will result in Gitblit ONLY listening to requests to
  1158. # localhost.
  1159. #
  1160. # SINCE 0.5.0
  1161. # RESTART REQUIRED
  1162. server.httpsBindInterface = localhost
  1163. # Specify the interface for Jetty to bind the AJP connector.
  1164. # You may specify an ip or an empty value to bind to all interfaces.
  1165. # Specifying localhost will result in Gitblit ONLY listening to requests to
  1166. # localhost.
  1167. #
  1168. # SINCE 0.9.0
  1169. # RESTART REQUIRED
  1170. server.ajpBindInterface = localhost
  1171. # Alias of certificate to use for https/SSL serving. If blank the first
  1172. # certificate found in the keystore will be used.
  1173. #
  1174. # SINCE 1.2.0
  1175. # RESTART REQUIRED
  1176. server.certificateAlias = localhost
  1177. # Password for SSL keystore.
  1178. # Keystore password and certificate password must match.
  1179. # This is provided for convenience, its probably more secure to set this value
  1180. # using the --storePassword command line parameter.
  1181. #
  1182. # If you are using the official JRE or JDK from Oracle you may not have the
  1183. # JCE Unlimited Strength Jurisdiction Policy files bundled with your JVM. Because
  1184. # of this, your store/key password can not exceed 7 characters. If you require
  1185. # longer passwords you may need to install the JCE Unlimited Strength Jurisdiction
  1186. # Policy files from Oracle.
  1187. #
  1188. # http://www.oracle.com/technetwork/java/javase/downloads/index.html
  1189. #
  1190. # Gitblit and the Gitblit Certificate Authority will both indicate if Unlimited
  1191. # Strength encryption is available.
  1192. #
  1193. # SINCE 0.5.0
  1194. # RESTART REQUIRED
  1195. server.storePassword = gitblit
  1196. # If serving over https (recommended) you might consider requiring clients to
  1197. # authenticate with ssl certificates. If enabled, only https clients with the
  1198. # a valid client certificate will be able to access Gitblit.
  1199. #
  1200. # If disabled, client certificate authentication is optional and will be tried
  1201. # first before falling-back to form authentication or basic authentication.
  1202. #
  1203. # Requiring client certificates to access any of Gitblit may be too extreme,
  1204. # consider this carefully.
  1205. #
  1206. # SINCE 1.2.0
  1207. # RESTART REQUIRED
  1208. server.requireClientCertificates = false
  1209. # Port for shutdown monitor to listen on.
  1210. #
  1211. # SINCE 0.5.0
  1212. # RESTART REQUIRED
  1213. server.shutdownPort = 8081