Oops (yet again)

This commit is contained in:
David Duque 2020-04-20 19:06:19 +01:00
parent 7f5a939e50
commit 49da79cbd9
No known key found for this signature in database
GPG Key ID: 2F327738A3C0AE3A
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ def do_web_update(env):
if domain in web_domains_not_redirect:
# This is a regular domain.
local_conf = ""
nginx_conf_custom = os.path.join(get_web_root(domain), ".nginx.conf")
nginx_conf_custom = os.path.join(get_web_root(domain, env), ".nginx.conf")
if os.path.exists(nginx_conf_custom):
with open(nginx_conf_custom, "r") as f:
local_conf = f.read()