Role pdns-api: always allow localhost
This commit is contained in:
parent
417b60a0ac
commit
12774ae19c
1 changed files with 4 additions and 2 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Reference in a new issue