summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2017-07-30 22:07:23 +0200
committerLauris BH <lauris@nix.lv>2017-07-30 23:07:23 +0300
commit9a505fafda9e7dfc310ce57d58e5f49562a17011 (patch)
tree73dc5ca987ef5221049684ceef28df7e6a9329f0 /conf
parentd74d8ecc2ef572357e0410b677f2d24fd3b78cdd (diff)
downloadgitea-9a505fafda9e7dfc310ce57d58e5f49562a17011.tar.gz
gitea-9a505fafda9e7dfc310ce57d58e5f49562a17011.zip
Improve docs for PROTOCOL and HTTP_ADDR options (#2231)
Fixes: #2230
Diffstat (limited to 'conf')
-rw-r--r--conf/app.ini4
1 files changed, 3 insertions, 1 deletions
diff --git a/conf/app.ini b/conf/app.ini
index bb0654e2e2..e704067b36 100644
--- a/conf/app.ini
+++ b/conf/app.ini
@@ -94,9 +94,11 @@ CUSTOM_URL_SCHEMES =
FILE_EXTENSIONS = .md,.markdown,.mdown,.mkd
[server]
+; Listen protocol. One of 'http', 'https', 'unix' or 'fcgi'.
PROTOCOL = http
DOMAIN = localhost
ROOT_URL = %(PROTOCOL)s://%(DOMAIN)s:%(HTTP_PORT)s/
+; Listen address. Either a IPv4/IPv6 address or the path to a unix socket.
HTTP_ADDR = 0.0.0.0
HTTP_PORT = 3000
; Permission for unix socket
@@ -156,7 +158,7 @@ LFS_START_SERVER = false
; Where your lfs files put on, default is data/lfs.
LFS_CONTENT_PATH = data/lfs
; LFS authentication secret, changed this to yourself.
-LFS_JWT_SECRET =
+LFS_JWT_SECRET =
; Define allowed algorithms and their minimum key length (use -1 to disable a type)
[ssh.minimum_key_sizes]