1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-01-14 02:34:22 +02:00

Catch empty WEBMAIL and WEBDAV address

This commit is contained in:
Tim Möhlmann 2019-08-21 22:54:42 +03:00
parent 348ea1a572
commit ed0fb77a01
No known key found for this signature in database
GPG Key ID: 8677988D8072E8DE

View File

@ -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;