Welcome! Log In Create A New Profile


Map Nginx Query String

August 21, 2014 06:59AM
I have a webapp e.g example.com is mapped with some 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)
Subject Author Posted

Map Nginx Query String

vikash.jha@intelligrape.com August 21, 2014 06:59AM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 72
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready