From ed0fb77a016065a30a360cab76377ee1aa7a38b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20M=C3=B6hlmann?= Date: Wed, 21 Aug 2019 22:54:42 +0300 Subject: [PATCH] Catch empty WEBMAIL and WEBDAV address --- core/nginx/conf/nginx.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/nginx/conf/nginx.conf b/core/nginx/conf/nginx.conf index 0e89324a..1ffb44a2 100644 --- a/core/nginx/conf/nginx.conf +++ b/core/nginx/conf/nginx.conf @@ -43,8 +43,12 @@ http { # Variables for proxifying set $admin {{ ADMIN_ADDRESS }}; set $antispam {{ ANTISPAM_ADDRESS }}; + {% if WEBMAIL_ADDRESS %} set $webmail {{ WEBMAIL_ADDRESS }}; + {% endif %} + {% if WEBDAV_ADDRESS %} set $webdav {{ WEBDAV_ADDRESS }}; + {% endif %} # Always listen over HTTP listen 80;