Fixing "the map directive is not allowed here" at the validation stage (see https://github.com/NginxProxyManager/nginx-proxy-manager/pull/3478)

This commit is contained in:
David Indra 2024-02-27 00:42:58 +01:00
parent 1fb9a75a33
commit 10ece3548d

View File

@ -1,5 +1,3 @@
{% include "_hsts_map.conf" %}
location {{ path }} {
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Scheme $scheme;