I was able to solve it with correct arguments passing location / { try_files $uri $uri$is_args$args /index.php?subdomain=$subdomain&content=$uri&$args; } Posted at Nginx Forum: http://forum.nginx.org/read.php?2,249267,249454#msg-249454