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

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