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