summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorOdin Ugedal <odin@ugedal.com>2016-08-11 23:46:33 +0200
committer无闻 <u@gogs.io>2016-08-11 14:46:33 -0700
commit1dd003bd4c88f6125ec49286c9feab1f7d9b5a82 (patch)
tree1ee0c7f67c82fc92f1a4494e0582c0f568b3f42d /conf
parent70fbcd2f27a027477dd18aef0d0f216bf0fb8230 (diff)
downloadgitea-1dd003bd4c88f6125ec49286c9feab1f7d9b5a82.tar.gz
gitea-1dd003bd4c88f6125ec49286c9feab1f7d9b5a82.zip
Add initial support for unix sockets (#2852)
Diffstat (limited to 'conf')
-rw-r--r--conf/app.ini2
1 files changed, 2 insertions, 0 deletions
diff --git a/conf/app.ini b/conf/app.ini
index 5b46365cb9..ea0ca16295 100644
--- a/conf/app.ini
+++ b/conf/app.ini
@@ -61,6 +61,8 @@ DOMAIN = localhost
ROOT_URL = %(PROTOCOL)s://%(DOMAIN)s:%(HTTP_PORT)s/
HTTP_ADDR = 0.0.0.0
HTTP_PORT = 3000
+; Permission for unix socket
+UNIX_SOCKET_PERMISSION = 666
; Local (DMZ) URL for Gogs workers (such as SSH update) accessing web service.
; In most cases you do not need to change the default value.
; Alter it only if your SSH server node is not the same as HTTP node.