From 17df903e147fc58574a5ee65fb3f448e921661ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Fra=C3=9F?= Date: Wed, 8 Oct 2025 11:55:25 +0200 Subject: [PATCH] [int] --- roles/hedgedoc-and-nginx/templates/conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/hedgedoc-and-nginx/templates/conf.j2 b/roles/hedgedoc-and-nginx/templates/conf.j2 index b6c6521..2212af7 100644 --- a/roles/hedgedoc-and-nginx/templates/conf.j2 +++ b/roles/hedgedoc-and-nginx/templates/conf.j2 @@ -29,7 +29,7 @@ server { listen 80; listen [::]:80; -{% if (var_element_and_nginx_tls_mode == 'force') %} +{% if (cfg_hedgedoc_and_nginx.tls_mode == 'force') %} return 301 https://$http_host$request_uri; {% else %} {{ hedgedoc_common() }}