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

View file

@ -18,6 +18,8 @@ server {
location / {
# allow defined addresses to access
allow 127.0.0.0/8;
allow ::1/128;
{% for host in pdns_limit_api_access %}
allow {{ host }};
{% endfor %}