1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-12-25 07:47:05 +00:00
This commit is contained in:
David Duque 2020-04-20 18:23:45 +01:00
parent 72070ee7bd
commit b2c2d61867
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, "r+") as f: with open(nginx_conf, "w+") as f:
f.write(local_conf) f.write(local_conf)
else: else:
# Add default 'www.' redirect. # Add default 'www.' redirect.