diff --git a/tmpl/gogs.conf b/tmpl/gogs.conf index aee5990..a775d08 100644 --- a/tmpl/gogs.conf +++ b/tmpl/gogs.conf @@ -15,7 +15,7 @@ SCRIPT_TYPE = bash [server] PROTOCOL = https %if %%getVar('activer_revprox','non') == 'oui' -DOMAIN = localhost +DOMAIN = %%gogs_web_name %else %if %%getVar('gogs_web_name', 'X-X-X-X') == 'X-X-X-X' DOMAIN = %%adresse_ip_eth0