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