How nginx's "location if" works (Was Re: Setting cache parameters via if directives)

Dayo nginx-forum at
Tue Feb 15 22:27:23 MSK 2011

Ryan Malayter Wrote:
> So what is a generally safe way to handle control
> flow where the
> conditions are based on something that is not in
> the URI (making
> rewrite useless)?

Have a look at this:,161969,167787#msg-167787

May be useful

Posted at Nginx Forum:,174917,175557#msg-175557

More information about the nginx mailing list