Fixing DOMAIN with correct value
This commit is contained in:
parent
086717610a
commit
56ba9d23ad
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue