Fixing DOMAIN with correct value

This commit is contained in:
Philippe Caseiro 2015-05-27 11:22:40 +02:00
parent 086717610a
commit 56ba9d23ad
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ SCRIPT_TYPE = bash
[server] [server]
PROTOCOL = https PROTOCOL = https
%if %%getVar('activer_revprox','non') == 'oui' %if %%getVar('activer_revprox','non') == 'oui'
DOMAIN = localhost DOMAIN = %%gogs_web_name
%else %else
%if %%getVar('gogs_web_name', 'X-X-X-X') == 'X-X-X-X' %if %%getVar('gogs_web_name', 'X-X-X-X') == 'X-X-X-X'
DOMAIN = %%adresse_ip_eth0 DOMAIN = %%adresse_ip_eth0