Role pdns-api: always allow localhost

This commit is contained in:
Julian Labus 2019-09-02 15:21:11 +02:00
parent 417b60a0ac
commit 12774ae19c
1 changed files with 4 additions and 2 deletions

View File

@ -18,9 +18,11 @@ server {
location / {
# allow defined addresses to access
{% for host in pdns_limit_api_access %}
allow 127.0.0.0/8;
allow ::1/128;
{% for host in pdns_limit_api_access %}
allow {{ host }};
{% endfor %}
{% endfor %}
# drop rest of the world
deny all;