From 898418078758eb9abefd3240a7a25821d81decf5 Mon Sep 17 00:00:00 2001 From: dkoao Date: Thu, 26 Sep 2019 11:04:37 +0000 Subject: [PATCH] fix order of Nginx config --- management/web_update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/management/web_update.py b/management/web_update.py index 78be0dac..07b1d4ae 100644 --- a/management/web_update.py +++ b/management/web_update.py @@ -86,7 +86,7 @@ def do_web_update(env): template3 = "\trewrite ^(.*) https://$REDIRECT_DOMAIN$1 permanent;\n" # Add the PRIMARY_HOST configuration first so it becomes nginx's default server. - nginx_conf += make_domain_config(env['PRIMARY_HOSTNAME'], [template0, template1, template2_nextcloud, template2], ssl_certificates, env) + nginx_conf += make_domain_config(env['PRIMARY_HOSTNAME'], [template0, template1, template2, template2_nextcloud], ssl_certificates, env) # Add configuration all other web domains. has_root_proxy_or_redirect = get_web_domains_with_root_overrides(env)