IP白名单支持ipv6 (#2858)

Fix #2855
This commit is contained in:
夏楚
2023-09-26 14:48:19 +08:00
committed by GitHub
parent 3ff373471e
commit 9f6930390a
3 changed files with 63 additions and 19 deletions

View File

@@ -244,7 +244,7 @@ forwarded_ip_header=
#默认允许所有跨域请求
allow_cross_domains=1
#允许访问http api和http文件索引的ip地址范围白名单置空情况下不做限制
allow_ip_range=127.0.0.1,172.16.0.0-172.31.255.255,192.168.0.0-192.168.255.255,10.0.0.0-10.255.255.255
allow_ip_range=::1,127.0.0.1,172.16.0.0-172.31.255.255,192.168.0.0-192.168.255.255,10.0.0.0-10.255.255.255
[multicast]
#rtp组播截止组播ip地址