mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
fix: make location.ip_acl apply to location (#1653)
This commit is contained in:
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 %}
|
||||
|
||||
Reference in New Issue
Block a user