zimg icon indicating copy to clipboard operation
zimg copied to clipboard

上传权限设置多个ip

Open hongjunsu opened this issue 7 years ago • 2 comments

权限控制配置一个ip可以用的,但是如何配置多个ip呢 upload_rule = 'allow 192.168.59.*/24' 这样配置不生效 upload_rule = 'allow 192.168.59.11/24 192.168.59.12/24 ' 这样也不行

还请大神给提示下

hongjunsu avatar Sep 01 '17 01:09 hongjunsu

试试分号分割:

upload_rule = 'allow 192.168.59.11;allow 192.168.59.12'

buaazp avatar Sep 07 '17 03:09 buaazp

不行~这样配置,2个ip都不能上传

hongjunsu avatar Sep 09 '17 03:09 hongjunsu