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 61KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904
  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 =
  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. # The port for serving the SSH service. <= 0 disables this service.
  87. # On Unix/Linux systems, ports < 1024 require root permissions.
  88. # Recommended value: 29418
  89. #
  90. # SINCE 1.5.0
  91. # RESTART REQUIRED
  92. git.sshPort = 29418
  93. # Specify the interface for the SSH daemon to bind its service.
  94. # You may specify an ip or an empty value to bind to all interfaces.
  95. # Specifying localhost will result in Gitblit ONLY listening to requests to
  96. # localhost.
  97. #
  98. # SINCE 1.5.0
  99. # RESTART REQUIRED
  100. git.sshBindInterface =
  101. # Specify the SSH key manager to use for retrieving, storing, and removing
  102. # SSH keys.
  103. #
  104. # Valid key managers are:
  105. # com.gitblit.transport.ssh.FileKeyManager
  106. #
  107. # SINCE 1.5.0
  108. git.sshKeysManager = com.gitblit.transport.ssh.FileKeyManager
  109. # Directory for storing user SSH keys when using the FileKeyManager.
  110. #
  111. # SINCE 1.5.0
  112. git.sshKeysFolder= ${baseFolder}/ssh
  113. # SSH backend NIO2|MINA.
  114. #
  115. # The Apache Mina project recommends using the NIO2 backend.
  116. #
  117. # SINCE 1.5.0
  118. git.sshBackend = NIO2
  119. # Number of threads used to parse a command line submitted by a client over SSH
  120. # for execution, create the internal data structures used by that command,
  121. # and schedule it for execution on another thread.
  122. #
  123. # SINCE 1.5.0
  124. git.sshCommandStartThreads = 2
  125. # Allow push/pull over http/https with JGit servlet.
  126. # If you do NOT want to allow Git clients to clone/push to Gitblit set this
  127. # to false. You might want to do this if you are only using ssh:// or git://.
  128. # If you set this false, consider changing the *web.otherUrls* setting to
  129. # indicate your clone/push urls.
  130. #
  131. # SINCE 0.5.0
  132. git.enableGitServlet = true
  133. # If you want to restrict all git servlet access to those with valid X509 client
  134. # certificates then set this value to true.
  135. #
  136. # SINCE 1.2.0
  137. git.requiresClientCertificate = false
  138. # Enforce date checks on client certificates to ensure that they are not being
  139. # used prematurely and that they have not expired.
  140. #
  141. # SINCE 1.2.0
  142. git.enforceCertificateValidity = true
  143. # List of OIDs to extract from a client certificate DN to map a certificate to
  144. # an account username.
  145. #
  146. # e.g. git.certificateUsernameOIDs = CN
  147. # e.g. git.certificateUsernameOIDs = FirstName LastName
  148. #
  149. # SPACE-DELIMITED
  150. # SINCE 1.2.0
  151. git.certificateUsernameOIDs = CN
  152. # Only serve/display bare repositories.
  153. # If there are non-bare repositories in git.repositoriesFolder and this setting
  154. # is true, they will be excluded from the ui.
  155. #
  156. # SINCE 0.9.0
  157. git.onlyAccessBareRepositories = false
  158. # Specify the list of acceptable transports for pushes.
  159. # If this setting is empty, all transports are acceptable.
  160. #
  161. # Valid choices are: GIT HTTP HTTPS SSH
  162. #
  163. # SINCE 1.5.0
  164. # SPACE-DELIMITED
  165. git.acceptedPushTransports = HTTP HTTPS SSH
  166. # Allow an authenticated user to create a destination repository on a push if
  167. # the repository does not already exist.
  168. #
  169. # Administrator accounts can create a repository in any project.
  170. # These repositories are created with the default access restriction and authorization
  171. # control values. The pushing account is set as the owner.
  172. #
  173. # Non-administrator accounts with the CREATE role may create personal repositories.
  174. # These repositories are created as VIEW restricted for NAMED users.
  175. # The pushing account is set as the owner.
  176. #
  177. # SINCE 1.2.0
  178. git.allowCreateOnPush = true
  179. # Global setting to control anonymous pushes.
  180. #
  181. # This setting allows/rejects anonymous pushes at the level of the receive pack.
  182. # This trumps all repository config settings. While anonymous pushes are convenient
  183. # on your own box when you are a lone developer, they are not recommended for
  184. # any multi-user installation where accountability is required. Since Gitblit
  185. # tracks pushes and user accounts, allowing anonymous pushes compromises that
  186. # information.
  187. #
  188. # SINCE 1.4.0
  189. git.allowAnonymousPushes = false
  190. # The default access restriction for new repositories.
  191. # Valid values are NONE, PUSH, CLONE, VIEW
  192. # NONE = anonymous view, clone, & push
  193. # PUSH = anonymous view & clone and authenticated push
  194. # CLONE = anonymous view, authenticated clone & push
  195. # VIEW = authenticated view, clone, & push
  196. #
  197. # SINCE 1.0.0
  198. git.defaultAccessRestriction = PUSH
  199. # The default authorization control for new repositories.
  200. # Valid values are AUTHENTICATED and NAMED
  201. # AUTHENTICATED = any authenticated user is granted restricted access
  202. # NAMED = only named users/teams are granted restricted access
  203. #
  204. # SINCE 1.1.0
  205. git.defaultAuthorizationControl = NAMED
  206. # The prefix for a users personal repository directory.
  207. #
  208. # Personal user repositories are created in this directory, named by the user name
  209. # prefixed with the userRepositoryPrefix. For eaxmple, a user 'john' would have his
  210. # personal repositories in the directory '~john'.
  211. #
  212. # Cannot be an empty string. Also, absolute paths are changed to relative paths by
  213. # removing the first directory separator.
  214. #
  215. # It is not recommended to change this value AFTER your user's have created
  216. # personal repositories because it will break all permissions, ownership, and
  217. # repository push/pull operations.
  218. #
  219. # RESTART REQUIRED
  220. # SINCE 1.4.0
  221. git.userRepositoryPrefix = ~
  222. # The default incremental push tag prefix. Tag prefix applied to a repository
  223. # that has automatic push tags enabled and does not specify a custom tag prefix.
  224. #
  225. # If incremental push tags are enabled, the tips of each branch in the push will
  226. # be tagged with an increasing revision integer.
  227. #
  228. # e.g. refs/tags/r2345 or refs/tags/rev_2345
  229. #
  230. # SINCE 1.3.0
  231. git.defaultIncrementalPushTagPrefix = r
  232. # Controls creating a repository as --shared on Unix servers.
  233. #
  234. # In an Unix environment where mixed access methods exist for shared repositories,
  235. # the repository should be created with 'git init --shared' to make sure that
  236. # it can be accessed e.g. via ssh (user git) and http (user www-data).
  237. #
  238. # Valid values are the values available for the '--shared' option. The the manual
  239. # page for 'git init' for more information on shared repositories.
  240. #
  241. # SINCE 1.4.0
  242. git.createRepositoriesShared = false
  243. # Enable JGit-based garbage collection. (!!EXPERIMENTAL!!)
  244. #
  245. # USE AT YOUR OWN RISK!
  246. #
  247. # If enabled, the garbage collection executor scans all repositories once a day
  248. # at the hour of your choosing. The GC executor will take each repository "offline",
  249. # one-at-a-time, to check if the repository satisfies it's GC trigger requirements.
  250. #
  251. # While the repository is offline it will be inaccessible from the web UI or from
  252. # any of the other services (git, rpc, rss, etc).
  253. #
  254. # Gitblit's GC Executor MAY NOT PLAY NICE with the other Git kids on the block,
  255. # especially on Windows systems, so if you are using other tools please coordinate
  256. # their usage with your GC Executor schedule or do not use this feature.
  257. #
  258. # The GC algorithm complex and the JGit team advises caution when using their
  259. # young implementation of GC.
  260. #
  261. # http://wiki.eclipse.org/EGit/New_and_Noteworthy/2.1#Garbage_Collector_and_Repository_Storage_Statistics
  262. #
  263. # EXPERIMENTAL
  264. # SINCE 1.2.0
  265. # RESTART REQUIRED
  266. git.enableGarbageCollection = false
  267. # Hour of the day for the GC Executor to scan repositories.
  268. # This value is in 24-hour time.
  269. #
  270. # SINCE 1.2.0
  271. git.garbageCollectionHour = 0
  272. # The default minimum total filesize of loose objects to trigger early garbage
  273. # collection.
  274. #
  275. # You may specify a custom threshold for a repository in the repository's settings.
  276. # Common unit suffixes of k, m, or g are supported.
  277. #
  278. # SINCE 1.2.0
  279. git.defaultGarbageCollectionThreshold = 500k
  280. # The default period, in days, between GCs for a repository. If the total filesize
  281. # of the loose object exceeds *git.garbageCollectionThreshold* or the repository's
  282. # custom threshold, this period will be short-circuited.
  283. #
  284. # e.g. if a repository collects 100KB of loose objects every day with a 500KB
  285. # threshold and a period of 7 days, it will take 5 days for the loose objects to
  286. # be collected, packed, and pruned.
  287. #
  288. # OR
  289. #
  290. # if a repository collects 10KB of loose objects every day with a 500KB threshold
  291. # and a period of 7 days, it will take the full 7 days for the loose objects to be
  292. # collected, packed, and pruned.
  293. #
  294. # You may specify a custom period for a repository in the repository's settings.
  295. #
  296. # The minimum value is 1 day since the GC Executor only runs once a day.
  297. #
  298. # SINCE 1.2.0
  299. git.defaultGarbageCollectionPeriod = 7
  300. # Gitblit can automatically fetch ref updates for a properly configured mirror
  301. # repository.
  302. #
  303. # Requirements:
  304. # 1. you must manually clone the repository using native git
  305. # git clone --mirror git://somewhere.com/myrepo.git
  306. # 2. the "origin" remote must be the mirror source
  307. # 3. the "origin" repository must be accessible without authentication OR the
  308. # credentials must be embedded in the origin url (not recommended)
  309. #
  310. # Notes:
  311. # 1. "origin" SSH urls are untested and not likely to work
  312. # 2. mirrors cloned while Gitblit is running are likely to require clearing the
  313. # gitblit cache (link on the repositories page of an administrator account)
  314. # 3. Gitblit will automatically repair any invalid fetch refspecs with a "//"
  315. # sequence.
  316. #
  317. # SINCE 1.4.0
  318. # RESTART REQUIRED
  319. git.enableMirroring = false
  320. # Specify the period between update checks for mirrored repositories.
  321. # The shortest period you may specify between mirror update checks is 5 mins.
  322. #
  323. # SINCE 1.4.0
  324. # RESTART REQUIRED
  325. git.mirrorPeriod = 30 mins
  326. # Number of bytes of a pack file to load into memory in a single read operation.
  327. # This is the "page size" of the JGit buffer cache, used for all pack access
  328. # operations. All disk IO occurs as single window reads. Setting this too large
  329. # may cause the process to load more data than is required; setting this too small
  330. # may increase the frequency of read() system calls.
  331. #
  332. # Default on JGit is 8 KiB on all platforms.
  333. #
  334. # Common unit suffixes of k, m, or g are supported.
  335. # Documentation courtesy of the Gerrit project.
  336. #
  337. # SINCE 1.0.0
  338. # RESTART REQUIRED
  339. git.packedGitWindowSize = 8k
  340. # Maximum number of bytes to load and cache in memory from pack files. If JGit
  341. # needs to access more than this many bytes it will unload less frequently used
  342. # windows to reclaim memory space within the process. As this buffer must be shared
  343. # with the rest of the JVM heap, it should be a fraction of the total memory available.
  344. #
  345. # The JGit team recommends setting this value larger than the size of your biggest
  346. # repository. This ensures you can serve most requests from memory.
  347. #
  348. # Default on JGit is 10 MiB on all platforms.
  349. #
  350. # Common unit suffixes of k, m, or g are supported.
  351. # Documentation courtesy of the Gerrit project.
  352. #
  353. # SINCE 1.0.0
  354. # RESTART REQUIRED
  355. git.packedGitLimit = 10m
  356. # Maximum number of bytes to reserve for caching base objects that multiple deltafied
  357. # objects reference. By storing the entire decompressed base object in a cache Git
  358. # is able to avoid unpacking and decompressing frequently used base objects multiple times.
  359. #
  360. # Default on JGit is 10 MiB on all platforms. You probably do not need to adjust
  361. # this value.
  362. #
  363. # Common unit suffixes of k, m, or g are supported.
  364. # Documentation courtesy of the Gerrit project.
  365. #
  366. # SINCE 1.0.0
  367. # RESTART REQUIRED
  368. git.deltaBaseCacheLimit = 10m
  369. # Maximum number of pack files to have open at once. A pack file must be opened
  370. # in order for any of its data to be available in a cached window.
  371. #
  372. # If you increase this to a larger setting you may need to also adjust the ulimit
  373. # on file descriptors for the host JVM, as Gitblit needs additional file descriptors
  374. # available for network sockets and other repository data manipulation.
  375. #
  376. # Default on JGit is 128 file descriptors on all platforms.
  377. # Documentation courtesy of the Gerrit project.
  378. #
  379. # SINCE 1.0.0
  380. # RESTART REQUIRED
  381. git.packedGitOpenFiles = 128
  382. # Largest object size, in bytes, that JGit will allocate as a contiguous byte
  383. # array. Any file revision larger than this threshold will have to be streamed,
  384. # typically requiring the use of temporary files under $GIT_DIR/objects to implement
  385. # psuedo-random access during delta decompression.
  386. #
  387. # Servers with very high traffic should set this to be larger than the size of
  388. # their common big files. For example a server managing the Android platform
  389. # typically has to deal with ~10-12 MiB XML files, so 15 m would be a reasonable
  390. # setting in that environment. Setting this too high may cause the JVM to run out
  391. # of heap space when handling very big binary files, such as device firmware or
  392. # CD-ROM ISO images. Make sure to adjust your JVM heap accordingly.
  393. #
  394. # Default is 50 MiB on all platforms.
  395. #
  396. # Common unit suffixes of k, m, or g are supported.
  397. # Documentation courtesy of the Gerrit project.
  398. #
  399. #
  400. # NOTE: The importance of JGit's streamFileTreshold AND Git's bigFileThreshold
  401. # ISSUE: https://bugs.eclipse.org/bugs/show_bug.cgi?id=394078
  402. #
  403. # "core.bigFileThreshold
  404. #
  405. # Files larger than this size are stored deflated, without
  406. # attempting delta compression. Storing large files without
  407. # delta compression avoids excessive memory usage, at the
  408. # slight expense of increased disk usage.
  409. #
  410. # Default is 512 MiB on all platforms.
  411. # This should be reasonable for most projects as source code and other
  412. # text files can still be delta compressed,
  413. # but larger binary media files won't be."
  414. # -- Git documentation
  415. #
  416. # If streamFileTreshold < bigFileTreshold you _may_ spend alot of time waiting
  417. # for push and/or fetch to complete. It may even look hung.
  418. #
  419. # Until the issue is resolved gracefully, a workaround is to configure
  420. # bigFileThreshold < streamFileTreshold AND then repack the repository.
  421. #
  422. # e.g. from the repository folder with Gitblit NOT running:
  423. # git config core.bigFileTreshold 40m
  424. # git gc --aggressive
  425. #
  426. # SINCE 1.0.0
  427. # RESTART REQUIRED
  428. git.streamFileThreshold = 50m
  429. # When true, JGit will use mmap() rather than malloc()+read() to load data from
  430. # pack files. The use of mmap can be problematic on some JVMs as the garbage
  431. # collector must deduce that a memory mapped segment is no longer in use before
  432. # a call to munmap() can be made by the JVM native code.
  433. #
  434. # In server applications (such as Gitblit) that need to access many pack files,
  435. # setting this to true risks artificially running out of virtual address space,
  436. # as the garbage collector cannot reclaim unused mapped spaces fast enough.
  437. #
  438. # Default on JGit is false. Although potentially slower, it yields much more
  439. # predictable behavior.
  440. # Documentation courtesy of the Gerrit project.
  441. #
  442. # SINCE 1.0.0
  443. # RESTART REQUIRED
  444. git.packedGitMmap = false
  445. # Validate all received (pushed) objects are valid.
  446. #
  447. # SINCE 1.5.0
  448. git.checkReceivedObjects = true
  449. # Validate all referenced but not supplied objects are reachable.
  450. #
  451. # If enabled, Gitblit will verify that references to objects not contained
  452. # within the received pack are already reachable through at least one other
  453. # reference advertised to clients.
  454. #
  455. # This feature is useful when Gitblit doesn't trust the client to not provide a
  456. # forged SHA-1 reference to an object, in an attempt to access parts of the DAG
  457. # that they aren't allowed to see and which have been hidden from them via the
  458. # configured AdvertiseRefsHook or RefFilter.
  459. #
  460. # Enabling this feature may imply at least some, if not all, of the same functionality
  461. # performed by git.checkReceivedObjects.
  462. #
  463. # SINCE 1.5.0
  464. git.checkReferencedObjectsAreReachable = true
  465. # Set the maximum allowed Git object size.
  466. #
  467. # If an object is larger than the given size the pack-parsing will throw an exception
  468. # aborting the receive-pack operation. The default value, 0, disables maximum
  469. # object size checking.
  470. #
  471. # SINCE 1.5.0
  472. git.maxObjectSizeLimit = 0
  473. # Set the maximum allowed pack size.
  474. #
  475. # A pack exceeding this size will be rejected. The default value, -1, disables
  476. # maximum pack size checking.
  477. #
  478. # SINCE 1.5.0
  479. git.maxPackSizeLimit = -1
  480. # Use the Gitblit patch receive pack for processing contributions and tickets.
  481. # This allows the user to push a patch using the familiar Gerrit syntax:
  482. #
  483. # git push <remote> HEAD:refs/for/<targetBranch>
  484. #
  485. # NOTE:
  486. # This requires git.enableGitServlet = true AND it requires an authenticated
  487. # git transport connection (http/https) when pushing from a client.
  488. #
  489. # Valid services include:
  490. # com.gitblit.tickets.FileTicketService
  491. # com.gitblit.tickets.BranchTicketService
  492. # com.gitblit.tickets.RedisTicketService
  493. #
  494. # SINCE 1.4.0
  495. # RESTART REQUIRED
  496. tickets.service =
  497. # Globally enable or disable creation of new bug, enhancement, task, etc tickets
  498. # for all repositories.
  499. #
  500. # If false, no tickets can be created through the ui for any repositories.
  501. # If true, each repository can control if they allow new tickets to be created.
  502. #
  503. # NOTE:
  504. # If a repository is accepting patchsets, new proposal tickets can be created
  505. # regardless of this setting.
  506. #
  507. # SINCE 1.4.0
  508. tickets.acceptNewTickets = true
  509. # Globally enable or disable pushing patchsets to all repositories.
  510. #
  511. # If false, no patchsets will be accepted for any repositories.
  512. # If true, each repository can control if they accept new patchsets.
  513. #
  514. # NOTE:
  515. # If a repository is accepting patchsets, new proposal tickets can be created
  516. # regardless of the acceptNewTickets setting.
  517. #
  518. # SINCE 1.4.0
  519. tickets.acceptNewPatchsets = true
  520. # Default setting to control patchset merge through the web ui. If true, patchsets
  521. # must have an approval score to enable the merge button. This setting can be
  522. # overriden per-repository.
  523. #
  524. # SINCE 1.4.0
  525. tickets.requireApproval = false
  526. # The case-insensitive regular expression used to identify and close tickets on
  527. # push to the integration branch for commits that are NOT already referenced as
  528. # a patchset tip.
  529. #
  530. # SINCE 1.5.0
  531. tickets.closeOnPushCommitMessageRegex = (?:fixes|closes)[\\s-]+#?(\\d+)
  532. # Specify the location of the Lucene Ticket index
  533. #
  534. # SINCE 1.4.0
  535. # RESTART REQUIRED
  536. tickets.indexFolder = ${baseFolder}/tickets/lucene
  537. # Define the url for the Redis server.
  538. #
  539. # e.g. redis://localhost:6379
  540. # redis://:foobared@localhost:6379/2
  541. #
  542. # SINCE 1.4.0
  543. # RESTART REQUIRED
  544. tickets.redis.url =
  545. # The number of tickets to display on a page.
  546. #
  547. # SINCE 1.4.0
  548. tickets.perPage = 25
  549. # The folder where plugins are loaded from.
  550. #
  551. # SINCE 1.5.0
  552. # RESTART REQUIRED
  553. # BASEFOLDER
  554. plugins.folder = ${baseFolder}/plugins
  555. # The registry of available plugins.
  556. #
  557. # SINCE 1.5.0
  558. plugins.registry = http://plugins.gitblit.com/plugins.json
  559. #
  560. # Groovy Integration
  561. #
  562. # Location of Groovy scripts to use for Pre and Post receive hooks.
  563. # Use forward slashes even on Windows!!
  564. # e.g. c:/groovy
  565. #
  566. # RESTART REQUIRED
  567. # SINCE 0.8.0
  568. # BASEFOLDER
  569. groovy.scriptsFolder = ${baseFolder}/groovy
  570. # Specify the directory Grape uses for downloading libraries.
  571. # http://groovy.codehaus.org/Grape
  572. #
  573. # RESTART REQUIRED
  574. # SINCE 1.0.0
  575. # BASEFOLDER
  576. groovy.grapeFolder = ${baseFolder}/groovy/grape
  577. # Scripts to execute on Pre-Receive.
  578. #
  579. # These scripts execute after an incoming push has been parsed and validated
  580. # but BEFORE the changes are applied to the repository. You might reject a
  581. # push in this script based on the repository and branch the push is attempting
  582. # to change.
  583. #
  584. # Script names are case-sensitive on case-sensitive file systems. You may omit
  585. # the traditional ".groovy" from this list if your file extension is ".groovy"
  586. #
  587. # NOTE:
  588. # These scripts are only executed when pushing to *Gitblit*, not to other Git
  589. # tooling you may be using. Also note that these scripts are shared between
  590. # repositories. These are NOT repository-specific scripts! Within the script
  591. # you may customize the control-flow for a specific repository by checking the
  592. # *repository* variable.
  593. #
  594. # SPACE-DELIMITED
  595. # CASE-SENSITIVE
  596. # SINCE 0.8.0
  597. groovy.preReceiveScripts =
  598. # Scripts to execute on Post-Receive.
  599. #
  600. # These scripts execute AFTER an incoming push has been applied to a repository.
  601. # You might trigger a continuous-integration build here or send a notification.
  602. #
  603. # Script names are case-sensitive on case-sensitive file systems. You may omit
  604. # the traditional ".groovy" from this list if your file extension is ".groovy"
  605. #
  606. # NOTE:
  607. # These scripts are only executed when pushing to *Gitblit*, not to other Git
  608. # tooling you may be using. Also note that these scripts are shared between
  609. # repositories. These are NOT repository-specific scripts! Within the script
  610. # you may customize the control-flow for a specific repository by checking the
  611. # *repository* variable.
  612. #
  613. # SPACE-DELIMITED
  614. # CASE-SENSITIVE
  615. # SINCE 0.8.0
  616. groovy.postReceiveScripts =
  617. # Repository custom fields for Groovy Hook mechanism
  618. #
  619. # List of key=label pairs of custom fields to prompt for in the Edit Repository
  620. # page. These keys are stored in the repository's git config file in the
  621. # section [gitblit "customFields"]. Key names are alphanumeric only. These
  622. # fields are intended to be used for the Groovy hook mechanism where a script
  623. # can adjust it's execution based on the custom fields stored in the repository
  624. # config.
  625. #
  626. # e.g. "commitMsgRegex=Commit Message Regular Expression" anotherProperty=Another
  627. #
  628. # SPACE-DELIMITED
  629. # SINCE 1.0.0
  630. groovy.customFields =
  631. #
  632. # Fanout Settings
  633. #
  634. # Fanout is a PubSub notification service that can be used by Sparkleshare
  635. # to eliminate repository change polling. The fanout service runs in a separate
  636. # thread on a separate port from the Gitblit http/https application.
  637. # This service is provided so that Sparkleshare may be used with Gitblit in
  638. # firewalled environments or where reliance on Sparkleshare's default notifications
  639. # server (notifications.sparkleshare.org) is unwanted.
  640. #
  641. # This service maintains an open socket connection from the client to the
  642. # Fanout PubSub service. This service may not work properly behind a proxy server.
  643. # Specify the interface for Fanout to bind it's service.
  644. # You may specify an ip or an empty value to bind to all interfaces.
  645. # Specifying localhost will result in Gitblit ONLY listening to requests to
  646. # localhost.
  647. #
  648. # SINCE 1.2.1
  649. # RESTART REQUIRED
  650. fanout.bindInterface =
  651. # port for serving the Fanout PubSub service. <= 0 disables this service.
  652. # On Unix/Linux systems, ports < 1024 require root permissions.
  653. # Recommended value: 17000
  654. #
  655. # SINCE 1.2.1
  656. # RESTART REQUIRED
  657. fanout.port = 0
  658. # Use Fanout NIO service. If false, a multi-threaded socket service will be used.
  659. # Be advised, the socket implementation spawns a thread per connection plus the
  660. # connection acceptor thread. The NIO implementation is completely single-threaded.
  661. #
  662. # SINCE 1.2.1
  663. # RESTART REQUIRED
  664. fanout.useNio = true
  665. # Concurrent connection limit. <= 0 disables concurrent connection throttling.
  666. # If > 0, only the specified number of concurrent connections will be allowed
  667. # and all other connections will be rejected.
  668. #
  669. # SINCE 1.2.1
  670. # RESTART REQUIRED
  671. fanout.connectionLimit = 0
  672. #
  673. # Authentication Settings
  674. #
  675. # Require authentication to see everything but the admin pages
  676. #
  677. # SINCE 0.5.0
  678. # RESTART REQUIRED
  679. web.authenticateViewPages = false
  680. # If web.authenticateViewPages=true you may optionally require a client-side
  681. # basic authentication prompt instead of the standard form-based login.
  682. #
  683. # SINCE 1.3.0
  684. web.enforceHttpBasicAuthentication = false
  685. # Require admin authentication for the admin functions and pages
  686. #
  687. # SINCE 0.5.0
  688. # RESTART REQUIRED
  689. web.authenticateAdminPages = true
  690. # Allow Gitblit to store a cookie in the user's browser for automatic
  691. # authentication. The cookie is generated by the user service.
  692. #
  693. # SINCE 0.5.0
  694. web.allowCookieAuthentication = true
  695. # Allow deletion of non-empty repositories. This is enforced for all delete vectors.
  696. #
  697. # SINCE 1.6.0
  698. web.allowDeletingNonEmptyRepositories = true
  699. # Config file for storing project metadata
  700. #
  701. # SINCE 1.2.0
  702. # BASEFOLDER
  703. web.projectsFile = ${baseFolder}/projects.conf
  704. # Either the full path to a user config file (users.conf)
  705. # OR a fully qualified class name that implements the IUserService interface.
  706. #
  707. # Any custom user service implementation must have a public default constructor.
  708. #
  709. # SINCE 0.5.0
  710. # RESTART REQUIRED
  711. # BASEFOLDER
  712. realm.userService = ${baseFolder}/users.conf
  713. # Ordered list of external authentication providers which will be used if
  714. # authentication against the local user service fails.
  715. #
  716. # Valid providers are:
  717. #
  718. # htpasswd
  719. # ldap
  720. # pam
  721. # redmine
  722. # salesforce
  723. # windows
  724. # e.g. realm.authenticationProviders = htpasswd windows
  725. #
  726. # SINCE 1.4.0
  727. # RESTART REQUIRED
  728. # SPACE-DELIMITED
  729. realm.authenticationProviders =
  730. # How to store passwords.
  731. # Valid values are plain, md5, or combined-md5. md5 is the hash of password.
  732. # combined-md5 is the hash of username.toLowerCase()+password.
  733. # Default is md5.
  734. #
  735. # SINCE 0.5.0
  736. realm.passwordStorage = md5
  737. # Minimum valid length for a plain text password.
  738. # Default value is 5. Absolute minimum is 4.
  739. #
  740. # SINCE 0.5.0
  741. realm.minPasswordLength = 5
  742. #
  743. # Gitblit Web Settings
  744. #
  745. # If blank Gitblit is displayed.
  746. #
  747. # SINCE 0.5.0
  748. web.siteName =
  749. # The canonical url of your Gitblit server to bs used in email notifications.
  750. # e.g. web.canonicalUrl = https://demo-gitblit.rhcloud.com
  751. #
  752. # SINCE 1.4.0
  753. web.canonicalUrl =
  754. # You may specify a different logo image for the header but it must be 120x45px.
  755. # If the specified file does not exist, the default Gitblit logo will be used.
  756. #
  757. # SINCE 1.3.0
  758. # BASEFOLDER
  759. web.headerLogo = ${baseFolder}/logo.png
  760. # You may specify a different link URL for the logo image anchor.
  761. # If blank the Gitblit main page URL is used.
  762. #
  763. # SINCE 1.3.0
  764. # BASEFOLDER
  765. web.rootLink =
  766. # You may specify a custom header background CSS color. If unspecified, the
  767. # default color will be used.
  768. #
  769. # e.g. web.headerBackgroundColor = #002060
  770. #
  771. # SINCE 1.3.0
  772. web.headerBackgroundColor =
  773. # You may specify a custom header foreground CSS color. If unspecified, the
  774. # default color will be used.
  775. #
  776. # e.g. web.headerForegroundColor = white
  777. #
  778. # SINCE 1.3.0
  779. web.headerForegroundColor =
  780. # You may specify a custom header foreground hover CSS color. If unspecified, the
  781. # default color will be used.
  782. #
  783. # e.g. web.headerHoverColor = white
  784. #
  785. # SINCE 1.3.0
  786. web.headerHoverColor =
  787. # You may specify a custom header border CSS color. If unspecified, the default
  788. # color will be used.
  789. #
  790. # e.g. web.headerBorderColor = #002060
  791. #
  792. # SINCE 1.3.0
  793. web.headerBorderColor =
  794. # You may specify a custom header border CSS color. If unspecified, the default
  795. # color will be used.
  796. #
  797. # e.g. web.headerBorderFocusColor = #ff9900
  798. #
  799. # SINCE 1.3.0
  800. web.headerBorderFocusColor =
  801. # If *web.authenticateAdminPages*=true, users with "admin" role can create
  802. # repositories, create users, and edit repository metadata.
  803. #
  804. # If *web.authenticateAdminPages*=false, any user can execute the aforementioned
  805. # functions.
  806. #
  807. # SINCE 0.5.0
  808. web.allowAdministration = true
  809. # Setting to disable rendering the top-level navigation header which includes
  810. # the login form, top-level links like dashboard, repositories, search, etc.
  811. # This setting is only useful if you plan to embed Gitblit within another page
  812. # or system.
  813. #
  814. # SINCE 1.4.0
  815. web.hideHeader = false
  816. # Allows rpc clients to list repositories and possibly manage or administer the
  817. # Gitblit server, if the authenticated account has administrator permissions.
  818. # See *web.enableRpcManagement* and *web.enableRpcAdministration*.
  819. #
  820. # SINCE 0.7.0
  821. web.enableRpcServlet = true
  822. # Allows rpc clients to manage repositories and users of the Gitblit instance,
  823. # if the authenticated account has administrator permissions.
  824. # Requires *web.enableRpcServlet=true*.
  825. #
  826. # SINCE 0.7.0
  827. web.enableRpcManagement = false
  828. # Allows rpc clients to control the server settings and monitor the health of this
  829. # this Gitblit instance, if the authenticated account has administrator permissions.
  830. # Requires *web.enableRpcServlet=true* and *web.enableRpcManagement*.
  831. #
  832. # SINCE 0.7.0
  833. web.enableRpcAdministration = false
  834. # Full path to a configurable robots.txt file. With this file you can control
  835. # what parts of your Gitblit server respectable robots are allowed to traverse.
  836. # http://googlewebmastercentral.blogspot.com/2008/06/improving-on-robots-exclusion-protocol.html
  837. #
  838. # SINCE 1.0.0
  839. # BASEFOLDER
  840. web.robots.txt = ${baseFolder}/robots.txt
  841. # The number of minutes to cache a page in the browser since the last request.
  842. # The default value is 0 minutes. A value <= 0 disables all page caching which
  843. # is the default behavior for Gitblit <= 1.3.0.
  844. #
  845. # SINCE 1.3.1
  846. web.pageCacheExpires = 0
  847. # If true, the web ui layout will respond and adapt to the browser's dimensions.
  848. # if false, the web ui will use a 940px fixed-width layout.
  849. # http://twitter.github.com/bootstrap/scaffolding.html#responsive
  850. #
  851. # SINCE 1.0.0
  852. web.useResponsiveLayout = true
  853. # Allow Gravatar images to be displayed in Gitblit pages.
  854. #
  855. # SINCE 0.8.0
  856. web.allowGravatar = true
  857. # Allow dynamic zip downloads.
  858. #
  859. # SINCE 0.5.0
  860. web.allowZipDownloads = true
  861. # If *web.allowZipDownloads=true* the following formats will be displayed for
  862. # download compressed archive links:
  863. #
  864. # zip = standard .zip
  865. # tar = standard tar format (preserves *nix permissions and symlinks)
  866. # gz = gz-compressed tar
  867. # xz = xz-compressed tar
  868. # bzip2 = bzip2-compressed tar
  869. #
  870. # SPACE-DELIMITED
  871. # SINCE 1.2.0
  872. web.compressedDownloads = zip gz
  873. # Allow optional Lucene integration. Lucene indexing is an opt-in feature.
  874. # A repository may specify branches to index with Lucene instead of using Git
  875. # commit traversal. There are scenarios where you may want to completely disable
  876. # Lucene indexing despite a repository specifying indexed branches. One such
  877. # scenario is on a resource-constrained federated Gitblit mirror.
  878. #
  879. # SINCE 0.9.0
  880. web.allowLuceneIndexing = true
  881. # Allows an authenticated user to create forks of a repository
  882. #
  883. # set this to false if you want to disable all fork controls on the web site
  884. #
  885. web.allowForking = true
  886. # Controls the length of shortened commit hash ids
  887. #
  888. # SINCE 1.2.0
  889. web.shortCommitIdLength = 6
  890. # Use Clippy (Flash solution) to provide a copy-to-clipboard button.
  891. # If false, a button with a more primitive JavaScript-based prompt box will
  892. # offer a 3-step (click, ctrl+c, enter) copy-to-clipboard alternative.
  893. #
  894. # SINCE 0.8.0
  895. web.allowFlashCopyToClipboard = true
  896. # Default maximum number of commits that a repository may contribute to the
  897. # activity page, regardless of the selected duration. This setting may be valuable
  898. # for an extremely busy server. This value may also be configed per-repository
  899. # in Edit Repository. 0 disables this throttle.
  900. #
  901. # SINCE 1.2.0
  902. web.maxActivityCommits = 0
  903. # Default number of entries to include in RSS Syndication links
  904. #
  905. # SINCE 0.5.0
  906. web.syndicationEntries = 25
  907. # Show the size of each repository on the repositories page.
  908. # This requires recursive traversal of each repository folder. This may be
  909. # non-performant on some operating systems and/or filesystems.
  910. #
  911. # SINCE 0.5.2
  912. web.showRepositorySizes = true
  913. # List of custom regex expressions that can be displayed in the Filters menu
  914. # of the Repositories and Activity pages. Keep them very simple because you
  915. # are likely to run into encoding issues if they are too complex.
  916. #
  917. # Use !!! to separate the filters
  918. #
  919. # SINCE 0.8.0
  920. web.customFilters =
  921. # Show federation registrations (without token) and the current pull status
  922. # to non-administrator users.
  923. #
  924. # SINCE 0.6.0
  925. web.showFederationRegistrations = false
  926. # This is the message displayed when *web.authenticateViewPages=true*.
  927. # This can point to a file with Markdown content.
  928. # Specifying "gitblit" uses the internal login message.
  929. #
  930. # SINCE 0.7.0
  931. # BASEFOLDER
  932. web.loginMessage = gitblit
  933. # This is the message displayed above the repositories table.
  934. # This can point to a file with Markdown content.
  935. # Specifying "gitblit" uses the internal welcome message.
  936. #
  937. # SINCE 0.5.0
  938. # BASEFOLDER
  939. web.repositoriesMessage = gitblit
  940. # Ordered list of charsets/encodings to use when trying to display a blob.
  941. # If empty, UTF-8 and ISO-8859-1 are used. The server's default charset
  942. # is always appended to the encoding list. If all encodings fail to cleanly
  943. # decode the blob content, UTF-8 will be used with the standard malformed
  944. # input/unmappable character replacement strings.
  945. #
  946. # SPACE-DELIMITED
  947. # SINCE 1.0.0
  948. web.blobEncodings = UTF-8 ISO-8859-1
  949. # Manually set the default timezone to be used by Gitblit for display in the
  950. # web ui. This value is independent of the JVM timezone. Specifying a blank
  951. # value will default to the JVM timezone.
  952. # e.g. America/New_York, US/Pacific, UTC, Europe/Berlin
  953. #
  954. # SINCE 0.9.0
  955. # RESTART REQUIRED
  956. web.timezone =
  957. # Use the client timezone when formatting dates.
  958. # This uses AJAX to determine the browser's timezone and may require more
  959. # server overhead because a Wicket session is created. All Gitblit pages
  960. # attempt to be stateless, if possible.
  961. #
  962. # SINCE 0.5.0
  963. # RESTART REQUIRED
  964. web.useClientTimezone = false
  965. # Time format
  966. # <http://download.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html>
  967. #
  968. # SINCE 0.8.0
  969. web.timeFormat = HH:mm
  970. # Short date format
  971. # <http://download.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html>
  972. #
  973. # SINCE 0.5.0
  974. web.datestampShortFormat = yyyy-MM-dd
  975. # Long date format
  976. #
  977. # SINCE 0.8.0
  978. web.datestampLongFormat = EEEE, MMMM d, yyyy
  979. # Long timestamp format
  980. # <http://download.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html>
  981. #
  982. # SINCE 0.5.0
  983. web.datetimestampLongFormat = EEEE, MMMM d, yyyy HH:mm Z
  984. # Mount URL parameters
  985. # This setting controls if pretty or parameter URLs are used.
  986. # i.e.
  987. # if true:
  988. # http://localhost/commit/myrepo/abcdef
  989. # if false:
  990. # http://localhost/commit/?r=myrepo&h=abcdef
  991. #
  992. # SINCE 0.5.0
  993. # RESTART REQUIRED
  994. web.mountParameters = true
  995. # Some servlet containers (e.g. Tomcat >= 6.0.10) disallow '/' (%2F) encoding
  996. # in URLs as a security precaution for proxies. This setting tells Gitblit
  997. # to preemptively replace '/' with '*' or '!' for url string parameters.
  998. #
  999. # <https://issues.apache.org/jira/browse/WICKET-1303>
  1000. # <http://tomcat.apache.org/security-6.html#Fixed_in_Apache_Tomcat_6.0.10>
  1001. # Add *-Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true* to your
  1002. # *CATALINA_OPTS* or to your JVM launch parameters
  1003. #
  1004. # SINCE 0.5.2
  1005. web.forwardSlashCharacter = /
  1006. # Show other URLs on the summary page for accessing your git repositories
  1007. # Use spaces to separate urls.
  1008. #
  1009. # {0} is the token for the repository name
  1010. # {1} is the token for the username
  1011. #
  1012. # The username is only practical if you have setup your other git serving
  1013. # solutions accounts to have the same username as the Gitblit account.
  1014. #
  1015. # e.g.
  1016. # web.otherUrls = ssh://localhost/git/{0} git://localhost/git/{0} https://{1}@localhost/r/{0}
  1017. #
  1018. # SPACE-DELIMITED
  1019. # SINCE 0.5.0
  1020. web.otherUrls =
  1021. # Should app-specific clone links be displayed for SourceTree, SparkleShare, etc?
  1022. #
  1023. # SINCE 1.3.0
  1024. web.allowAppCloneLinks = true
  1025. # Choose how to present the repositories list.
  1026. # grouped = group nested/subfolder repositories together (no sorting)
  1027. # flat = flat list of repositories (sorting allowed)
  1028. #
  1029. # SINCE 0.5.0
  1030. web.repositoryListType = grouped
  1031. # If using a grouped repository list and there are repositories at the
  1032. # root level of your repositories folder, you may specify the displayed
  1033. # group name with this setting. This value is only used for web presentation.
  1034. #
  1035. # SINCE 0.5.0
  1036. web.repositoryRootGroupName = main
  1037. # Display the repository swatch color next to the repository name link in the
  1038. # repositories list.
  1039. #
  1040. # SINCE 0.8.0
  1041. web.repositoryListSwatches = true
  1042. # Defines the default commit message renderer. This can be configured
  1043. # per-repository.
  1044. #
  1045. # Valid values are: plain, markdown
  1046. #
  1047. # SINCE 1.4.0
  1048. web.commitMessageRenderer = plain
  1049. # Control if email addresses are shown in web ui
  1050. #
  1051. # SINCE 0.5.0
  1052. web.showEmailAddresses = true
  1053. # Shows a combobox in the page links header with commit, committer, and author
  1054. # search selection. Default search is commit.
  1055. #
  1056. # SINCE 0.5.0
  1057. web.showSearchTypeSelection = false
  1058. # Controls display of activity graphs on the dashboard, activity, and summary
  1059. # pages. Charting makes use of the external Google Charts API.
  1060. #
  1061. # SINCE 0.5.0
  1062. web.generateActivityGraph = true
  1063. # Displays the commits branch graph in the summary page and commits/log page.
  1064. #
  1065. # SINCE 1.4.0
  1066. web.showBranchGraph = true
  1067. # The default number of days to show on the activity page.
  1068. # Value must exceed 0 else default of 7 is used
  1069. #
  1070. # SINCE 0.8.0
  1071. web.activityDuration = 7
  1072. # Choices for days of activity to display.
  1073. #
  1074. # SPACE-DELIMITED
  1075. # SINCE 1.3.0
  1076. web.activityDurationChoices = 1 3 7 14 21 28
  1077. # Maximum number of days of activity that may be displayed on the activity page.
  1078. #
  1079. # SINCE 1.3.2
  1080. web.activityDurationMaximum = 30
  1081. # The number of days of commits to cache in memory for the dashboard, activity,
  1082. # and project pages. A value of 0 will disable all caching and will parse commits
  1083. # in each repository per-request. If the value > 0 these pages will try to fulfill
  1084. # requests using the commit cache. If the request specifies a period which falls
  1085. # outside the commit cache window, then the cache will be ignored and the request
  1086. # will be fulfilled by brute-force parsing all relevant commits per-repository.
  1087. #
  1088. # Consider the values specified for *web.activityDurationChoices* when setting
  1089. # the cache size AND consider adjusting the JVM -Xmx heap parameter appropriately.
  1090. #
  1091. # SINCE 1.3.0
  1092. # RESTART REQUIRED
  1093. web.activityCacheDays = 14
  1094. # Case-insensitive list of authors to exclude from metrics. Useful for
  1095. # eliminating bots.
  1096. #
  1097. # SPACE-DELIMITED
  1098. # SINCE 1.3.0
  1099. web.metricAuthorExclusions =
  1100. # The number of commits to display on the summary page
  1101. # Value must exceed 0 else default of 20 is used
  1102. #
  1103. # SINCE 0.5.0
  1104. web.summaryCommitCount = 16
  1105. # The number of tags/branches to display on the summary page.
  1106. # -1 = all tags/branches
  1107. # 0 = hide tags/branches
  1108. # N = N tags/branches
  1109. #
  1110. # SINCE 0.5.0
  1111. web.summaryRefsCount = 5
  1112. # Show a README file, if available, on the summary page.
  1113. #
  1114. # SINCE 1.4.0
  1115. web.summaryShowReadme = false
  1116. # The number of items to show on a page before showing the first, prev, next
  1117. # pagination links. A default of 50 is used for any invalid value.
  1118. #
  1119. # SINCE 0.5.0
  1120. web.itemsPerPage = 50
  1121. # The number of reflog changes to display on the overview page
  1122. # Value must exceed 0 else default of 5 is used
  1123. #
  1124. # SINCE 1.3.0
  1125. web.overviewReflogCount = 5
  1126. # The number of reflog changes to show on a reflog page before show the first,
  1127. # prev, next pagination links. A default of 10 is used for any invalid value.
  1128. #
  1129. # SINCE 1.3.0
  1130. web.reflogChangesPerPage = 10
  1131. # Specify the names of documents in the root of your repository to be displayed
  1132. # in tabs on your repository docs page. If the name is not found in the root
  1133. # then no tab is added. The order specified is the order displayed. Do not
  1134. # specify a file extension as the aggregation of markup extensions + txt are used
  1135. # in the search algorithm.
  1136. #
  1137. # SPACE-DELIMITED
  1138. # SINCE 1.4.0
  1139. web.documents = readme home index changelog contributing submitting_patches copying license notice authors
  1140. # Registered file extensions to ignore during Lucene indexing
  1141. #
  1142. # SPACE-DELIMITED
  1143. # SINCE 0.9.0
  1144. web.luceneIgnoreExtensions = 7z arc arj bin bmp dll doc docx exe gif gz jar jpg lib lzh odg odf odt pdf ppt pptx png so swf tar xcf xls xlsx zip
  1145. # Registered extensions for google-code-prettify
  1146. #
  1147. # SPACE-DELIMITED
  1148. # SINCE 0.5.0
  1149. 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
  1150. # Registered extensions for markdown transformation
  1151. #
  1152. # SPACE-DELIMITED
  1153. # CASE-SENSITIVE
  1154. # SINCE 0.5.0
  1155. web.markdownExtensions = md mkd markdown MD MKD
  1156. # Registered extensions for mediawiki transformation
  1157. #
  1158. # SPACE-DELIMITED
  1159. # CASE-SENSITIVE
  1160. # SINCE 1.4.0
  1161. web.mediawikiExtensions = mw mediawiki
  1162. # Registered extensions for twiki transformation
  1163. #
  1164. # SPACE-DELIMITED
  1165. # CASE-SENSITIVE
  1166. # SINCE 1.4.0
  1167. web.twikiExtensions = twiki
  1168. # Registered extensions for textile transformation
  1169. #
  1170. # SPACE-DELIMITED
  1171. # CASE-SENSITIVE
  1172. # SINCE 1.4.0
  1173. web.textileExtensions = textile
  1174. # Registered extensions for confluence transformation
  1175. #
  1176. # SPACE-DELIMITED
  1177. # CASE-SENSITIVE
  1178. # SINCE 1.4.0
  1179. web.confluenceExtensions = confluence
  1180. # Registered extensions for tracwiki transformation
  1181. #
  1182. # SPACE-DELIMITED
  1183. # CASE-SENSITIVE
  1184. # SINCE 1.4.0
  1185. web.tracwikiExtensions = tracwiki
  1186. # Image extensions
  1187. #
  1188. # SPACE-DELIMITED
  1189. # SINCE 0.5.0
  1190. web.imageExtensions = bmp jpg gif png
  1191. # Registered extensions for binary blobs
  1192. #
  1193. # SPACE-DELIMITED
  1194. # SINCE 0.5.0
  1195. web.binaryExtensions = 7z arc arj bin dll doc docx exe gz jar lib lzh odg odf odt pdf ppt pptx so tar xls xlsx zip
  1196. # Aggressive heap management will run the garbage collector on every generated
  1197. # page. This slows down page generation a little but improves heap consumption.
  1198. #
  1199. # SINCE 0.5.0
  1200. web.aggressiveHeapManagement = false
  1201. # Run the webapp in debug mode
  1202. #
  1203. # SINCE 0.5.0
  1204. # RESTART REQUIRED
  1205. web.debugMode = false
  1206. # Force a default locale for all users, ignoring the browser's settings.
  1207. # An empty value allows Gitblit to use the translation preferred by the browser.
  1208. #
  1209. # Changing this value while the server is running will only affect new sessions.
  1210. #
  1211. # e.g. web.forceDefaultLocale = en
  1212. #
  1213. # SINCE 1.3.0
  1214. web.forceDefaultLocale =
  1215. # Enable/disable global regex substitutions (i.e. shared across repositories)
  1216. #
  1217. # SINCE 0.5.0
  1218. # DEPRECATED 1.4.0 (migrate to bugtraq instead)
  1219. regex.global = true
  1220. # Example global regex substitutions
  1221. # Use !!! to separate the search pattern and the replace pattern
  1222. # searchpattern!!!replacepattern
  1223. # SINCE 0.5.0
  1224. # regex.global.bug = \\b(Bug:)(\\s*[#]?|-){0,1}(\\d+)\\b!!!Bug: <a href="http://somehost/bug/$3">$3</a>
  1225. # SINCE 0.5.0
  1226. # Example Gerrit links
  1227. # regex.global.changeid = \\b(Change-Id:\\s*)([A-Za-z0-9]*)\\b!!!Change-Id: <a href="http://somehost/r/#q,$2,n,z">$2</a>
  1228. # regex.global.reviewedon = \\b(Reviewed-on:\\s*)([A-Za-z0-9:/\\.]*)\\b!!!Reviewed-on: <a href="$2">$2</a>
  1229. # Example per-repository regex substitutions overrides global
  1230. # SINCE 0.5.0
  1231. # regex.myrepository.bug = \\b(Bug:)(\\s*[#]?|-){0,1}(\\d+)\\b!!!Bug: <a href="http://elsewhere/bug/$3">$3</a>
  1232. #
  1233. # Mail Settings
  1234. # SINCE 0.6.0
  1235. #
  1236. # Mail settings are used to notify administrators of received federation proposals
  1237. #
  1238. # ip or hostname of smtp server
  1239. #
  1240. # SINCE 0.6.0
  1241. mail.server =
  1242. # port to use for smtp requests
  1243. #
  1244. # SINCE 0.6.0
  1245. mail.port = 25
  1246. # debug the mail executor
  1247. #
  1248. # SINCE 0.6.0
  1249. mail.debug = false
  1250. # use SMTPs flag
  1251. mail.smtps = false
  1252. # use STARTTLS flag
  1253. #
  1254. # SINCE 1.6.0
  1255. mail.starttls = false
  1256. # if your smtp server requires authentication, supply the credentials here
  1257. #
  1258. # SINCE 0.6.0
  1259. mail.username =
  1260. # SINCE 0.6.0
  1261. mail.password =
  1262. # from address for generated emails
  1263. #
  1264. # SINCE 0.6.0
  1265. mail.fromAddress =
  1266. # List of email addresses for the Gitblit administrators
  1267. #
  1268. # SPACE-DELIMITED
  1269. # SINCE 0.6.0
  1270. mail.adminAddresses =
  1271. # List of email addresses for sending push email notifications.
  1272. #
  1273. # This key currently requires use of the sendemail.groovy hook script.
  1274. # If you set sendemail.groovy in *groovy.postReceiveScripts* then email
  1275. # notifications for all repositories (regardless of access restrictions!)
  1276. # will be sent to these addresses.
  1277. #
  1278. # SPACE-DELIMITED
  1279. # SINCE 0.8.0
  1280. mail.mailingLists =
  1281. #
  1282. # Federation Settings
  1283. # SINCE 0.6.0
  1284. #
  1285. # A Gitblit federation is a way to backup one Gitblit instance to another.
  1286. #
  1287. # *git.enableGitServlet* must be true to use this feature.
  1288. # Your federation name is used for federation status acknowledgments. If it is
  1289. # unset, and you elect to send a status acknowledgment, your Gitblit instance
  1290. # will be identified by its hostname, if available, else your internal ip address.
  1291. # The source Gitblit instance will also append your external IP address to your
  1292. # identification to differentiate multiple pulling systems behind a single proxy.
  1293. #
  1294. # SINCE 0.6.0
  1295. federation.name =
  1296. # Specify the passphrase of this Gitblit instance.
  1297. #
  1298. # An unspecified (empty) passphrase disables processing federation requests.
  1299. #
  1300. # This value can be anything you want: an integer, a sentence, an haiku, etc.
  1301. # Keep the value simple, though, to avoid Java properties file encoding issues.
  1302. #
  1303. # Changing your passphrase will break any registrations you have established with other
  1304. # Gitblit instances.
  1305. #
  1306. # CASE-SENSITIVE
  1307. # SINCE 0.6.0
  1308. # RESTART REQUIRED *(only to enable or disable federation)*
  1309. federation.passphrase =
  1310. # Control whether or not this Gitblit instance can receive federation proposals
  1311. # from another Gitblit instance. Registering a federated Gitblit is a manual
  1312. # process. Proposals help to simplify that process by allowing a remote Gitblit
  1313. # instance to send your Gitblit instance the federation pull data.
  1314. #
  1315. # SINCE 0.6.0
  1316. federation.allowProposals = false
  1317. # The destination folder for cached federation proposals.
  1318. # Use forward slashes even on Windows!!
  1319. #
  1320. # SINCE 0.6.0
  1321. # BASEFOLDER
  1322. federation.proposalsFolder = ${baseFolder}/proposals
  1323. # The default pull frequency if frequency is unspecified on a registration
  1324. #
  1325. # SINCE 0.6.0
  1326. federation.defaultFrequency = 60 mins
  1327. # Federation Sets are named groups of repositories. The Federation Sets are
  1328. # available for selection in the repository settings page. You can assign a
  1329. # repository to one or more sets and then distribute the token for the set.
  1330. # This allows you to grant federation pull access to a subset of your available
  1331. # repositories. Tokens for federation sets only grant repository pull access.
  1332. #
  1333. # SPACE-DELIMITED
  1334. # CASE-SENSITIVE
  1335. # SINCE 0.6.0
  1336. federation.sets =
  1337. # Federation pull registrations
  1338. # Registrations are read once, at startup.
  1339. #
  1340. # RESTART REQUIRED
  1341. #
  1342. # frequency:
  1343. # The shortest frequency allowed is every 5 minutes
  1344. # Decimal frequency values are cast to integers
  1345. # Frequency values may be specified in mins, hours, or days
  1346. # Values that can not be parsed or are unspecified default to *federation.defaultFrequency*
  1347. #
  1348. # folder:
  1349. # if unspecified, the folder is *git.repositoriesFolder*
  1350. # if specified, the folder is relative to *git.repositoriesFolder*
  1351. #
  1352. # bare:
  1353. # if true, each repository will be created as a *bare* repository and will not
  1354. # have a working directory.
  1355. #
  1356. # if false, each repository will be created as a normal repository suitable
  1357. # for local work.
  1358. #
  1359. # mirror:
  1360. # if true, each repository HEAD is reset to *origin/master* after each pull.
  1361. # The repository will be flagged *isFrozen* after the initial clone.
  1362. #
  1363. # if false, each repository HEAD will point to the FETCH_HEAD of the initial
  1364. # clone from the origin until pushed to or otherwise manipulated.
  1365. #
  1366. # mergeAccounts:
  1367. # if true, remote accounts and their permissions are merged into your
  1368. # users.properties file
  1369. #
  1370. # notifyOnError:
  1371. # if true and the mail configuration is properly set, administrators will be
  1372. # notified by email of pull failures
  1373. #
  1374. # include and exclude:
  1375. # Space-delimited list of repositories to include or exclude from pull
  1376. # may be * wildcard to include or exclude all
  1377. # may use fuzzy match (e.g. org.eclipse.*)
  1378. #
  1379. # (Nearly) Perfect Mirror example
  1380. #
  1381. #federation.example1.url = https://go.gitblit.com
  1382. #federation.example1.token = 6f3b8a24bf970f17289b234284c94f43eb42f0e4
  1383. #federation.example1.frequency = 120 mins
  1384. #federation.example1.folder =
  1385. #federation.example1.bare = true
  1386. #federation.example1.mirror = true
  1387. #federation.example1.mergeAccounts = true
  1388. #
  1389. # Advanced Realm Settings
  1390. #
  1391. # Auto-creates user accounts based on the servlet container principal. This
  1392. # assumes that your Gitblit install is a protected resource and your container's
  1393. # authentication process intercepts all Gitblit requests.
  1394. #
  1395. # SINCE 1.3.0
  1396. realm.container.autoCreateAccounts = false
  1397. # Allow or prohibit Windows guest account logins
  1398. #
  1399. # SINCE 1.3.0
  1400. realm.windows.allowGuests = false
  1401. # Allow user accounts belonging to the BUILTIN\Administrators group to be
  1402. # Gitblit administrators.
  1403. #
  1404. # SINCE 1.4.0
  1405. realm.windows.permitBuiltInAdministrators = true
  1406. # The default domain for authentication.
  1407. #
  1408. # If specified, this domain will be used for authentication UNLESS the supplied
  1409. # login name manually specifies a domain (.e.g. mydomain\james or james@mydomain)
  1410. #
  1411. # If unspecified, the username must be specified in UPN format (name@domain).
  1412. #
  1413. # if "." (dot) is specified, ONLY the local account database will be used.
  1414. #
  1415. # SINCE 1.3.0
  1416. realm.windows.defaultDomain =
  1417. # The PAM service name for authentication.
  1418. # default: system-auth
  1419. #
  1420. # SINCE 1.3.1
  1421. realm.pam.serviceName = system-auth
  1422. # The Apache htpasswd file that contains the users and passwords.
  1423. # default: ${baseFolder}/htpasswd
  1424. #
  1425. # RESTART REQUIRED
  1426. # BASEFOLDER
  1427. # SINCE 1.3.2
  1428. realm.htpasswd.userfile = ${baseFolder}/htpasswd
  1429. # Restrict the Salesforce user to members of this org.
  1430. # default: 0 (i.e. do not check the Org ID)
  1431. #
  1432. # SINCE 1.3.0
  1433. realm.salesforce.orgId = 0
  1434. # URL of the LDAP server.
  1435. # To use encrypted transport, use either ldaps:// URL for SSL or ldap+tls:// to
  1436. # send StartTLS command.
  1437. #
  1438. # SINCE 1.0.0
  1439. realm.ldap.server = ldap://localhost
  1440. # Login username for LDAP searches.
  1441. # If this value is unspecified, anonymous LDAP login will be used.
  1442. #
  1443. # e.g. mydomain\\username
  1444. #
  1445. # SINCE 1.0.0
  1446. realm.ldap.username = cn=Directory Manager
  1447. # Login password for LDAP searches.
  1448. #
  1449. # SINCE 1.0.0
  1450. realm.ldap.password = password
  1451. # Bind pattern for Authentication.
  1452. # Allow to directly authenticate an user without LDAP Searches.
  1453. #
  1454. # e.g. CN=${username},OU=Users,OU=UserControl,OU=MyOrganization,DC=MyDomain
  1455. #
  1456. # SINCE 1.5.0
  1457. realm.ldap.bindpattern =
  1458. # Delegate team membership control to LDAP.
  1459. #
  1460. # If true, team user memberships will be specified by LDAP groups. This will
  1461. # disable team selection in Edit User and user selection in Edit Team.
  1462. #
  1463. # If false, LDAP will only be used for authentication and Gitblit will maintain
  1464. # team memberships with the *realm.ldap.backingUserService*.
  1465. #
  1466. # SINCE 1.0.0
  1467. realm.ldap.maintainTeams = false
  1468. # Root node for all LDAP users
  1469. #
  1470. # This is the root node from which subtree user searches will begin.
  1471. # If blank, Gitblit will search ALL nodes.
  1472. #
  1473. # SINCE 1.0.0
  1474. realm.ldap.accountBase = OU=Users,OU=UserControl,OU=MyOrganization,DC=MyDomain
  1475. # Filter criteria for LDAP users
  1476. #
  1477. # Query pattern to use when searching for a user account. This may be any valid
  1478. # LDAP query expression, including the standard (&) and (|) operators.
  1479. #
  1480. # Variables may be injected via the ${variableName} syntax.
  1481. # Recognized variables are:
  1482. # ${username} - The text entered as the user name
  1483. #
  1484. # SINCE 1.0.0
  1485. realm.ldap.accountPattern = (&(objectClass=person)(sAMAccountName=${username}))
  1486. # Root node for all LDAP groups to be used as Gitblit Teams
  1487. #
  1488. # This is the root node from which subtree team searches will begin.
  1489. # If blank, Gitblit will search ALL nodes.
  1490. #
  1491. # SINCE 1.0.0
  1492. realm.ldap.groupBase = OU=Groups,OU=UserControl,OU=MyOrganization,DC=MyDomain
  1493. # Filter criteria for LDAP groups
  1494. #
  1495. # Query pattern to use when searching for a team. This may be any valid
  1496. # LDAP query expression, including the standard (&) and (|) operators.
  1497. #
  1498. # Variables may be injected via the ${variableName} syntax.
  1499. # Recognized variables are:
  1500. # ${username} - The text entered as the user name
  1501. # ${dn} - The Distinguished Name of the user logged in
  1502. #
  1503. # All attributes from the LDAP User record are available. For example, if a user
  1504. # has an attribute "fullName" set to "John", "(fn=${fullName})" will be
  1505. # translated to "(fn=John)".
  1506. #
  1507. # SINCE 1.0.0
  1508. realm.ldap.groupMemberPattern = (&(objectClass=group)(member=${dn}))
  1509. # Filter criteria for empty LDAP groups
  1510. #
  1511. # Query pattern to use when searching for an empty team. This may be any valid
  1512. # LDAP query expression, including the standard (&) and (|) operators.
  1513. #
  1514. # default: (&(objectClass=group)(!(member=*)))
  1515. # SINCE 1.4.0
  1516. realm.ldap.groupEmptyMemberPattern = (&(objectClass=group)(!(member=*)))
  1517. # LDAP users or groups that should be given administrator privileges.
  1518. #
  1519. # Teams are specified with a leading '@' character. Groups with spaces in the
  1520. # name can be entered as "@team name". This setting only applies when using
  1521. # LDAP to maintain team memberships.
  1522. #
  1523. # e.g. realm.ldap.admins = john @git_admins "@git admins"
  1524. #
  1525. # SPACE-DELIMITED
  1526. # SINCE 1.0.0
  1527. realm.ldap.admins = @Git_Admins
  1528. # Attribute(s) on the USER record that indicate their display (or full) name.
  1529. # Leave blank for no mapping available in LDAP.
  1530. #
  1531. # This may be a single attribute, or a string of multiple attributes. Examples:
  1532. # displayName - Uses the attribute 'displayName' on the user record
  1533. # ${personalTitle}. ${givenName} ${surname} - Will concatenate the 3
  1534. # attributes together, with a '.' after personalTitle
  1535. #
  1536. # SINCE 1.0.0
  1537. realm.ldap.displayName = displayName
  1538. # Attribute(s) on the USER record that indicate their email address.
  1539. # Leave blank for no mapping available in LDAP.
  1540. #
  1541. # This may be a single attribute, or a string of multiple attributes. Examples:
  1542. # email - Uses the attribute 'email' on the user record
  1543. # ${givenName}.${surname}@gitblit.com -Will concatenate the 2 attributes
  1544. # together with a '.' and '@' creating something like first.last@gitblit.com
  1545. #
  1546. # SINCE 1.0.0
  1547. realm.ldap.email = email
  1548. # Attribute on the USER record that indicate their username to be used in gitblit
  1549. # when synchronizing users from LDAP
  1550. # if blank, Gitblit will use uid
  1551. # For MS Active Directory this may be sAMAccountName
  1552. #
  1553. # SINCE 1.0.0
  1554. realm.ldap.uid = uid
  1555. # Defines whether to synchronize all LDAP users and teams into the user service
  1556. #
  1557. # Valid values: true, false
  1558. # If left blank, false is assumed
  1559. #
  1560. # SINCE 1.4.0
  1561. realm.ldap.synchronize = false
  1562. # Defines the period to be used when synchronizing users and teams from ldap.
  1563. #
  1564. # Must be of the form '<long> <TimeUnit>' where <TimeUnit> is one of 'MILLISECONDS', 'SECONDS', 'MINUTES', 'HOURS', 'DAYS'
  1565. # default: 5 MINUTES
  1566. #
  1567. # RESTART REQUIRED
  1568. # SINCE 1.4.0
  1569. realm.ldap.syncPeriod = 5 MINUTES
  1570. # Defines whether to delete non-existent LDAP users from the user service
  1571. # during synchronization. depends on realm.ldap.synchronize = true
  1572. #
  1573. # Valid values: true, false
  1574. # If left blank, true is assumed
  1575. #
  1576. # SINCE 1.4.0
  1577. realm.ldap.removeDeletedUsers = true
  1578. # URL of the Redmine.
  1579. #
  1580. # SINCE 1.2.0
  1581. realm.redmine.url = http://example.com/redmine
  1582. #
  1583. # Server Settings
  1584. #
  1585. # The temporary folder to decompress the embedded gitblit webapp.
  1586. #
  1587. # SINCE 0.5.0
  1588. # RESTART REQUIRED
  1589. # BASEFOLDER
  1590. server.tempFolder = ${baseFolder}/temp
  1591. # Specify the maximum number of concurrent http/https worker threads to allow.
  1592. #
  1593. # SINCE 1.3.0
  1594. # RESTART REQUIRED
  1595. server.threadPoolSize = 50
  1596. # Context path for the GO application. You might want to change the context
  1597. # path if running Gitblit behind a proxy layer such as mod_proxy.
  1598. #
  1599. # SINCE 0.7.0
  1600. # RESTART REQUIRED
  1601. server.contextPath = /
  1602. # Standard http port to serve. <= 0 disables this connector.
  1603. # On Unix/Linux systems, ports < 1024 require root permissions.
  1604. # Recommended value: 80 or 8080
  1605. #
  1606. # SINCE 0.5.0
  1607. # RESTART REQUIRED
  1608. server.httpPort = 0
  1609. # Secure/SSL https port to serve. <= 0 disables this connector.
  1610. # On Unix/Linux systems, ports < 1024 require root permissions.
  1611. # Recommended value: 443 or 8443
  1612. #
  1613. # SINCE 0.5.0
  1614. # RESTART REQUIRED
  1615. server.httpsPort = 8443
  1616. # Automatically redirect http requests to the secure https connector.
  1617. #
  1618. # This setting requires that you have configured server.httpPort and server.httpsPort.
  1619. # Unless you are on a private LAN where you trust all client connections, it is
  1620. # recommended to use https for all communications.
  1621. #
  1622. # SINCE 1.4.0
  1623. # RESTART REQUIRED
  1624. server.redirectToHttpsPort = false
  1625. # Specify the interface for Jetty to bind the standard connector.
  1626. # You may specify an ip or an empty value to bind to all interfaces.
  1627. # Specifying localhost will result in Gitblit ONLY listening to requests to
  1628. # localhost.
  1629. #
  1630. # SINCE 0.5.0
  1631. # RESTART REQUIRED
  1632. server.httpBindInterface =
  1633. # Specify the interface for Jetty to bind the secure connector.
  1634. # You may specify an ip or an empty value to bind to all interfaces.
  1635. # Specifying localhost will result in Gitblit ONLY listening to requests to
  1636. # localhost.
  1637. #
  1638. # SINCE 0.5.0
  1639. # RESTART REQUIRED
  1640. server.httpsBindInterface =
  1641. # Alias of certificate to use for https/SSL serving. If blank the first
  1642. # certificate found in the keystore will be used.
  1643. #
  1644. # SINCE 1.2.0
  1645. # RESTART REQUIRED
  1646. server.certificateAlias = localhost
  1647. # Password for SSL keystore.
  1648. # Keystore password and certificate password must match.
  1649. # This is provided for convenience, its probably more secure to set this value
  1650. # using the --storePassword command line parameter.
  1651. #
  1652. # If you are using the official JRE or JDK from Oracle you may not have the
  1653. # JCE Unlimited Strength Jurisdiction Policy files bundled with your JVM. Because
  1654. # of this, your store/key password can not exceed 7 characters. If you require
  1655. # longer passwords you may need to install the JCE Unlimited Strength Jurisdiction
  1656. # Policy files from Oracle.
  1657. #
  1658. # http://www.oracle.com/technetwork/java/javase/downloads/index.html
  1659. #
  1660. # Gitblit and the Gitblit Certificate Authority will both indicate if Unlimited
  1661. # Strength encryption is available.
  1662. #
  1663. # SINCE 0.5.0
  1664. # RESTART REQUIRED
  1665. server.storePassword = gitblit
  1666. # If serving over https (recommended) you might consider requiring clients to
  1667. # authenticate with ssl certificates. If enabled, only https clients with the
  1668. # a valid client certificate will be able to access Gitblit.
  1669. #
  1670. # If disabled, client certificate authentication is optional and will be tried
  1671. # first before falling-back to form authentication or basic authentication.
  1672. #
  1673. # Requiring client certificates to access any of Gitblit may be too extreme,
  1674. # consider this carefully.
  1675. #
  1676. # SINCE 1.2.0
  1677. # RESTART REQUIRED
  1678. server.requireClientCertificates = false
  1679. # Port for shutdown monitor to listen on.
  1680. #
  1681. # SINCE 0.5.0
  1682. # RESTART REQUIRED
  1683. server.shutdownPort = 8081