mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-12-25 07:47:05 +00:00
Oops
This commit is contained in:
parent
72070ee7bd
commit
b2c2d61867
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user