allow ipv6 localhost when enabled (#2210)
This commit is contained in:
parent
41217eb9e4
commit
08252e2eef
2 changed files with 4 additions and 1 deletions
File diff suppressed because one or more lines are too long
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue