Can auth_basic restrict files in certain folder?
nginx-forum at nginx.us
Mon Mar 29 06:32:32 MSD 2010
I have some problem with my nginx
I just could not restrict files in certain floder, as follows, i put the settings to nginx.conf
location ~ ^/restrict/
the folder /restrict/ is restricted perfect, however, files in the folder can still be accessed,
What's the matter? any ideas?
Thanks in advance.
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,68890,68890#msg-68890
More information about the nginx