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.

defaults.properties 59KB

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