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