Hi all, I was just wondering, how to do the following in nginx: # apache.conf: # ----------------------------------------------------------------------- <Directory /var/www/vhost/aa/htdocs/> AuthType Basic AuthUserFile /var/www/auth/htpasswd AuthName "pass please" require valid-user Allow from all </Directory> <Location /> Require usby flarik - Nginx Mailing List - English
Francis Daly Wrote: ------------------------------------------------------- Hello Francis, thanks for your response. > In nginx, one request is handled in one location. So I expect that no more > than one set of add_header directives will apply. And as you only show > regex locations, if the first one matches then it is the one that is used. Ah, that makes sense, thanks! Rby flarik - Nginx Mailing List - English
Hello, I'm trying to undestand the break; statement in combination with add_header combo, on the wiki it says the following: "Completes the current set of rules. Continue processing within the current location block but do not process any more rewrite directives." I read this as everything that has todo with the HttpRewriteModule will not be processed any more after this statemeby flarik - Nginx Mailing List - English