From 5aa60163d5b76486fd605a93709cf7f1ac55e0e2 Mon Sep 17 00:00:00 2001 From: Roman Reitschmied Date: Fri, 19 Jan 2024 20:43:58 +0100 Subject: [PATCH] fix map is not allowed in server context The map directive is only allowed in the http context. See https://nginx.org/en/docs/http/ngx_http_map_module.html --- backend/templates/_location.conf | 1 - 1 file changed, 1 deletion(-) diff --git a/backend/templates/_location.conf b/backend/templates/_location.conf index c561c2742..c3c65e7a3 100644 --- a/backend/templates/_location.conf +++ b/backend/templates/_location.conf @@ -1,4 +1,3 @@ - {% include "_hsts_map.conf" %} location {{ path }} { proxy_set_header Host $host;