Improve docs for PROTOCOL and HTTP_ADDR options (#2231)

Fixes: #2230
pull/2201/head
silverwind 7 years ago committed by Lauris BH
parent d74d8ecc2e
commit 9a505fafda
  1. 4
      conf/app.ini

4
conf/app.ini vendored

@ -94,9 +94,11 @@ CUSTOM_URL_SCHEMES =
FILE_EXTENSIONS = .md,.markdown,.mdown,.mkd FILE_EXTENSIONS = .md,.markdown,.mdown,.mkd
[server] [server]
; Listen protocol. One of 'http', 'https', 'unix' or 'fcgi'.
PROTOCOL = http PROTOCOL = http
DOMAIN = localhost DOMAIN = localhost
ROOT_URL = %(PROTOCOL)s://%(DOMAIN)s:%(HTTP_PORT)s/ 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_ADDR = 0.0.0.0
HTTP_PORT = 3000 HTTP_PORT = 3000
; Permission for unix socket ; Permission for unix socket
@ -156,7 +158,7 @@ LFS_START_SERVER = false
; Where your lfs files put on, default is data/lfs. ; Where your lfs files put on, default is data/lfs.
LFS_CONTENT_PATH = data/lfs LFS_CONTENT_PATH = data/lfs
; LFS authentication secret, changed this to yourself. ; 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) ; Define allowed algorithms and their minimum key length (use -1 to disable a type)
[ssh.minimum_key_sizes] [ssh.minimum_key_sizes]

Loading…
Cancel
Save