mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-12-24 07:37:04 +00:00
Uhhhh, yeah
This commit is contained in:
parent
7ff5a336a6
commit
502a4d2128
@ -83,7 +83,7 @@ def do_web_update(env):
|
||||
|
||||
# Add the PRIMARY_HOST configuration first so it becomes nginx's default server.
|
||||
nginx_conf += make_domain_config(env['PRIMARY_HOSTNAME'], [template0, template1, template2], ssl_certificates, env)
|
||||
default_conf_file = os.path.join(get_web_root(env['PRIMARY_HOSTNAME']), ".nginx.conf")
|
||||
default_conf_file = os.path.join(get_web_root(env['PRIMARY_HOSTNAME'], env), ".nginx.conf")
|
||||
if not os.path.exists(default_conf_file):
|
||||
with open(default_conf_file, "w") as f:
|
||||
f.write(nginx_conf)
|
||||
|
Loading…
Reference in New Issue
Block a user