Anyone know why the following wouldn't prompt for an id and password? It
just goes directly to my 401 (requires authorization) page.
[CODE]
location ~ /(directory1/|directory2/|directory3/).* {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fastcgi_params;
auth_basic "Restricted";
auth_basic_user_file /etc/nginx/htpasswd;
} [/CODE]