allow ipv6 localhost when enabled
This commit is contained in:
parent
6b7491f432
commit
d997c3c797
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