forked from GerritCodeReview/plugins_gitblit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitblit.properties
More file actions
37 lines (29 loc) · 1.22 KB
/
Copy pathgitblit.properties
File metadata and controls
37 lines (29 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#
# GitBlit custom settings
#
# Disable GitBlit Git Server, as Gerrit already serves Git repositories
git.cacheRepositoryList = false
git.enableGitServlet = false
git.onlyAccessBareRepositories = true
# Allow the user of GitBlit cookie authentication for avoiding overload on
# Gerrit authentication every time that a repository is browsed
web.allowCookieAuthentication = true
# Requires users to authenticate against Gerrit before giving any access
web.authenticateViewPages = true
# Disable GitBlit Web administration, as it supposed to be made on Gerrit init
web.allowAdministration = false
web.authenticateAdminPages = true
# Disable the ability to fork a repository
web.allowForking = false
# Disable GitBlit RPC services
web.enableRpcServlet = false
web.enableRpcManagement = false
web.enableRpcAdministration = false
# Disable the 'mount' of GitBlit parameters in the URL, it would mess-up the
# Gerrit plugins URLs generation and parsing of them when Gerrit repos have '/'
# in their name. Additionally avoid the usage of URL-encoded '/' (%2F) as it may
# be automatically decoded by reverse proxies and then even forbidden for security
# reasons.
web.mountParameters = false
web.allowZipDownloads = true
web.compressedDownloads = zip gz