From 0cdb3c67927f9beafeae113d5a4fe5315f5861f6 Mon Sep 17 00:00:00 2001 From: phil Date: Sat, 11 Mar 2023 21:44:33 +0100 Subject: [PATCH] Fix quotation --- templates/nginx.conf.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/nginx.conf.j2 b/templates/nginx.conf.j2 index be990aa..6ad17c4 100644 --- a/templates/nginx.conf.j2 +++ b/templates/nginx.conf.j2 @@ -20,7 +20,7 @@ http { tcp_nodelay on; keepalive_timeout 65; types_hash_max_size 2048; - server_tokens {{ nginx_server_token | default(off) }}; + server_tokens {{ nginx_server_token | default("off") }}; map_hash_max_size 4096; map_hash_bucket_size 128; @@ -42,7 +42,7 @@ http { # Log no IP addresses # access_log /var/log/nginx/access.log noip if=$log_ip; - access_log {{ nginx_access_log | default(off) }}; + access_log {{ nginx_access_log | default("off") }}; error_log /var/log/nginx/error.log;