From 5238eae8bb43a2a8bd3ad6c079af8c3fd4db09df Mon Sep 17 00:00:00 2001 From: kaibae19 <99116238+kaibae19@users.noreply.github.com> Date: Sun, 3 Apr 2022 12:39:41 -0700 Subject: [PATCH] Update web_update.py --- 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 406e52ac..4117a5da 100644 --- a/management/web_update.py +++ b/management/web_update.py @@ -87,7 +87,7 @@ def do_web_update(env): # Add the PRIMARY_HOST configuration first so it becomes nginx's default server. # If DAV_HOSTNAME and PRIMARY_HOSTNAME differ, exclude the Nextcloud configuration from the nginx configuration - if env['PRIMARY_HOSTNAME' == env'DAV_HOSTNAME']: + if env['PRIMARY_HOSTNAME'] == env['DAV_HOSTNAME']: nginx_conf += make_domain_config(env['PRIMARY_HOSTNAME'], [template0, template1, template2, template4], ssl_certificates, env) else nginx_conf += make_domain_config(env['PRIMARY_HOSTNAME'], [template0, template1, template2], ssl_certificates, env)