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