From 10ece3548d42aa5dba424816f065827fdaf3f990 Mon Sep 17 00:00:00 2001 From: David Indra Date: Tue, 27 Feb 2024 00:42:58 +0100 Subject: [PATCH] Fixing "the map directive is not allowed here" at the validation stage (see https://github.com/NginxProxyManager/nginx-proxy-manager/pull/3478) --- backend/templates/_location.conf | 2 -- 1 file changed, 2 deletions(-) diff --git a/backend/templates/_location.conf b/backend/templates/_location.conf index c561c274..2ee0d31b 100644 --- a/backend/templates/_location.conf +++ b/backend/templates/_location.conf @@ -1,5 +1,3 @@ - {% include "_hsts_map.conf" %} - location {{ path }} { proxy_set_header Host $host; proxy_set_header X-Forwarded-Scheme $scheme;