fix: make location.ip_acl apply to location (#1653)

This commit is contained in:
Szeraax
2020-01-06 10:09:03 +01:00
committed by Fabian Franz BSc
parent 0f0370db48
commit 0b3b0bea87
@@ -43,7 +43,7 @@ location {{ location.matchtype }} {{ location.urlpattern }} {
}
{% endif %}
{% if location.ip_acl is defined %}
{% set ip_acl = server.ip_acl %}
{% set ip_acl = location.ip_acl %}
{% include "OPNsense/Nginx/ipacl.conf" %}
{% endif %}
{% if location.root is defined %}