allow ipv6 localhost when enabled

This commit is contained in:
Elvin Efendi 2018-03-19 09:18:51 -04:00
parent 6b7491f432
commit d997c3c797
2 changed files with 4 additions and 1 deletions

File diff suppressed because one or more lines are too long

View file

@ -498,6 +498,9 @@ http {
location /configuration {
allow 127.0.0.1;
{{ if $IsIPV6Enabled }}
allow ::1;
{{ end }}
deny all;
content_by_lua_block {
configuration.call()