Forum: NGINX Map Nginx Query String

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
2974d09ac2541e892966b762aad84943?d=identicon&s=25 vikash.jha@intelligrape.com (Guest)
on 2014-08-21 13:34
(Received via mailing list)
I have a webapp e.g example.com which is mapped with embedded url in
nginx.

    server {

  location  / {

    set $args id=201;

    try_files $uri $uri/ $uri/index.php /index.php;

  }

    }


When I visit my site **example.com and example.com/id=201** it renders
same
page.

but when i visit **example.com/index.php** it renders different page.

Is there any way to map **example.com/index.php** on the same page in
which
example.com is mapped? ( here example.com/id=201)

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,252731,252731#msg-252731
This topic is locked and can not be replied to.