Thank you very much! I read the referenced thread and the possible solutions are not good enough for me. First I thought to switch back to Lighttpd because this is a very simple thing to solve with it. Than I changed my mind and solved the problem the next way: 1, I denied the protected subdir /stat/ with: location ^~ /stat/ { deny all; } 2, Setby halx - Migration from Other Servers
Hi! I'm a newcomer to nginx from Apache and Lighttpd. I switched two weeks ago on one of our production server and everything seemd to be more than good. But now I have to face a problem I couldn't solve. I had to setup a subdirectory of the site to be password protected while keep all the behaviours defined by location blocks. These are: - pass all PHP to FastCGI UDS - deny access to speby halx - Migration from Other Servers