Hi all,
I need to deny users by ip. I assume we need to do something like this
location / {
# block one workstation
deny 192.168.1.1;
# allow anyone in 192.168.1.0/24
allow 192.168.1.0/24;
# drop rest of the world
deny all;
}
But how can I pass on the list of ips from a file? A file which will get
udated from time to time.
Can I pass the ips something like this
deny /tmp/iplist.txt;
Will Nginx refresh the ip list in memory if the file gets changed?
-Quintin
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx