From 49da79cbd9bd3cce3ae688670218f88a697902b1 Mon Sep 17 00:00:00 2001 From: David Duque Date: Mon, 20 Apr 2020 19:06:19 +0100 Subject: [PATCH] Oops (yet again) --- management/web_update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/management/web_update.py b/management/web_update.py index ac4f75b3..4639cee4 100644 --- a/management/web_update.py +++ b/management/web_update.py @@ -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()