buaazp / zimg

A lightweight and high performance image storage and processing system.
http://zimg.buaa.us
BSD 3-Clause "New" or "Revised" License
2.69k stars 402 forks source link

上传权限设置多个ip #201

Open hongjunsu opened 7 years ago

hongjunsu commented 7 years ago

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

还请大神给提示下

buaazp commented 7 years ago

试试分号分割:

upload_rule = 'allow 192.168.59.11;allow 192.168.59.12'
hongjunsu commented 7 years ago

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