From 8c5ff2b523941b54726bf87cb56a415a2a792c1d Mon Sep 17 00:00:00 2001 From: David Duque Date: Mon, 20 Apr 2020 18:28:13 +0100 Subject: [PATCH] Screwed up on the path --- 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 be72aba2..36b8e03d 100644 --- a/management/web_update.py +++ b/management/web_update.py @@ -105,7 +105,7 @@ def do_web_update(env): local_conf = make_domain_config(domain, [template0], ssl_certificates, env) nginx_conf += local_conf - with open(nginx_conf, "w+") as f: + with open(nginx_conf_custom, "w+") as f: f.write(local_conf) else: # Add default 'www.' redirect.