allow ipv6 localhost when enabled (#2210)

This commit is contained in:
Elvin Efendi 2018-03-19 12:32:55 -04:00 committed by Manuel Alejandro de Brito Fontes
parent 41217eb9e4
commit 08252e2eef
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()