Set a particular location for address starting with '?'

mvip nginx-forum at
Thu Sep 24 20:22:58 MSD 2009

Cliff, you're my hero! =)

I modified it slightly and ended up with:

location = / {
if ($is_args) {
proxy_pass; # wordpress
proxy_pass; # django

It works great and that is all that matters.

To address your question with sub-domain or folder -- it's a matter of having a pretty URLs and a seamlessly integrated blog and site. =)

Posted at Nginx Forum:,8769,8994#msg-8994

More information about the nginx mailing list