summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorAdam Strzelecki <ono@java.pl>2015-12-09 21:36:43 +0100
committerAdam Strzelecki <ono@java.pl>2015-12-09 23:11:07 +0100
commitb886fb4bf05ad4c6809ecf0e490dbab6dc87a694 (patch)
tree19dc50851c8120dc005410dacb97ba7ae49affc8 /conf
parentfa5e372f7553a4ac9eea1e183ecfc526edb52a77 (diff)
downloadgitea-b886fb4bf05ad4c6809ecf0e490dbab6dc87a694.tar.gz
gitea-b886fb4bf05ad4c6809ecf0e490dbab6dc87a694.zip
LOCAL_ROOT_URL for workers accessing web service
Local (DMZ) URL for gogs workers (such as ssh update) accessing web service. In most cases you do not need to change default http://localhost:HTTP_PORT/. You may need to alter it only if your ssh server node is not the same as http node, eg. running behind proxy on different node than web server. --- 80 public port -> 8080 -- web server node / public proxy --< \ --- 22 public port -> 10022 -- ssh server node This option is not intended to be accessible via web GUI settings, since it is unlikely someone needs to change it to somethings else than default http://localhost:HTTP_PORT/ which should work for most of the cases. But this should land into the documentation somewhere. fixup
Diffstat (limited to 'conf')
-rw-r--r--conf/app.ini4
1 files changed, 4 insertions, 0 deletions
diff --git a/conf/app.ini b/conf/app.ini
index 97da594782..20706308a3 100644
--- a/conf/app.ini
+++ b/conf/app.ini
@@ -46,6 +46,10 @@ DOMAIN = localhost
ROOT_URL = %(PROTOCOL)s://%(DOMAIN)s:%(HTTP_PORT)s/
HTTP_ADDR =
HTTP_PORT = 3000
+; 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.
+LOCAL_ROOT_URL = http://localhost:%(HTTP_PORT)s/
; Disable SSH feature when not available
DISABLE_SSH = false
; Whether use builtin SSH server or not.