summaryrefslogtreecommitdiffstats
path: root/custom
diff options
context:
space:
mode:
authorTimothée Ravier <tim@siosm.fr>2018-05-22 03:35:36 +0200
committerLunny Xiao <xiaolunwen@gmail.com>2018-05-22 09:35:36 +0800
commitb3a3024f038f5709bf17f93a009415785ca20475 (patch)
tree2c7b27e9eea493d89082d5dabde97cd1d9460902 /custom
parentd97bb9516c26c04bf459fecf03a09e3e2147baf3 (diff)
downloadgitea-b3a3024f038f5709bf17f93a009415785ca20475.tar.gz
gitea-b3a3024f038f5709bf17f93a009415785ca20475.zip
doc: update LOCAL_ROOT_URL description for PROTOCOL = 'unix' case (#3760)
Update the sample configuration and config cheat sheet description for the LOCAL_ROOT_URL configuration variable to mention the special case required if PROTOCOL is set to 'unix'. Fixes #3741. Signed-off-by: Timothée Ravier <tim@siosm.fr>
Diffstat (limited to 'custom')
-rw-r--r--custom/conf/app.ini.sample1
1 files changed, 1 insertions, 0 deletions
diff --git a/custom/conf/app.ini.sample b/custom/conf/app.ini.sample
index ca5b7a3332..f9a188c3a1 100644
--- a/custom/conf/app.ini.sample
+++ b/custom/conf/app.ini.sample
@@ -124,6 +124,7 @@ UNIX_SOCKET_PERMISSION = 666
; Local (DMZ) URL for Gitea 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.
+; Do not set this variable if PROTOCOL is set to 'unix'.
LOCAL_ROOT_URL = %(PROTOCOL)s://%(HTTP_ADDR)s:%(HTTP_PORT)s/
; Disable SSH feature when not available
DISABLE_SSH = false