1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-12-25 07:47:05 +00:00

Screwed up on the path

This commit is contained in:
David Duque 2020-04-20 18:28:13 +01:00
parent b2c2d61867
commit 8c5ff2b523
No known key found for this signature in database
GPG Key ID: 2F327738A3C0AE3A

View File

@ -105,7 +105,7 @@ def do_web_update(env):
local_conf = make_domain_config(domain, [template0], ssl_certificates, env) local_conf = make_domain_config(domain, [template0], ssl_certificates, env)
nginx_conf += local_conf nginx_conf += local_conf
with open(nginx_conf, "w+") as f: with open(nginx_conf_custom, "w+") as f:
f.write(local_conf) f.write(local_conf)
else: else:
# Add default 'www.' redirect. # Add default 'www.' redirect.