mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-12-25 07:47:05 +00:00
Don't overwrite
This commit is contained in:
parent
5f15c2e53b
commit
c401625a01
@ -98,9 +98,8 @@ def do_web_update(env):
|
|||||||
if os.path.exists(nginx_conf_custom):
|
if os.path.exists(nginx_conf_custom):
|
||||||
with open(nginx_conf_custom, "r") as f:
|
with open(nginx_conf_custom, "r") as f:
|
||||||
local_conf = f.read()
|
local_conf = f.read()
|
||||||
|
elif domain not in has_root_proxy_or_redirect:
|
||||||
if domain not in has_root_proxy_or_redirect:
|
local_conf = make_domain_config(domain, [template0, template3], ssl_certificates, env)
|
||||||
local_conf = make_domain_config(domain, [template0, template4], ssl_certificates, env)
|
|
||||||
else:
|
else:
|
||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user