aboutsummaryrefslogtreecommitdiffstats
path: root/roles/web
diff options
context:
space:
mode:
Diffstat (limited to 'roles/web')
-rw-r--r--roles/web/templates/sites/liwt.git.conf.j22
-rw-r--r--roles/web/templates/sites/liwt.radicale.conf.j22
2 files changed, 2 insertions, 2 deletions
diff --git a/roles/web/templates/sites/liwt.git.conf.j2 b/roles/web/templates/sites/liwt.git.conf.j2
index 363d493..f448dd6 100644
--- a/roles/web/templates/sites/liwt.git.conf.j2
+++ b/roles/web/templates/sites/liwt.git.conf.j2
@@ -13,7 +13,7 @@
# 2017-06-18
#
-{% if domains_hascert[domain] %}
+{% if cgit is defined and domains_hascert[domain] %}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
diff --git a/roles/web/templates/sites/liwt.radicale.conf.j2 b/roles/web/templates/sites/liwt.radicale.conf.j2
index 728717f..30ad727 100644
--- a/roles/web/templates/sites/liwt.radicale.conf.j2
+++ b/roles/web/templates/sites/liwt.radicale.conf.j2
@@ -7,7 +7,7 @@
# 2017-04-27
#
-{% if domains_hascert[domain] %}
+{% if radicale is defined and domains_hascert[domain] %}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;