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
This commit is contained in:
Roman Reitschmied 2024-01-19 20:43:58 +01:00 committed by GitHub
parent 0353051436
commit 5aa60163d5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,4 +1,3 @@
{% include "_hsts_map.conf" %}
location {{ path }} {
proxy_set_header Host $host;