rewrite proxy flag set problem

niraj nginx-forum at nginx.us
Tue Mar 27 12:47:57 UTC 2012


Hi

For that auction proxy_pass working but now 

I have request like  

/user/ongoingra/display_ra_list?from_period=&to_period=&type=20  

I want to redirect this query    for that I have added the following 

location =/user/ongoingra/ {
proxy_pass http://192.168.1.210/user/ongoingra/;
}

or 

location =/user {
proxy_pass http://192.168.1.210/user;
}
or 

location /user/ongoingra {
proxy_pass http://192.168.1.210/user/ongoingra;
}


but I am not able to get the result of the following request 

/user/ongoingra/display_ra_list?from_period=&to_period=&type=20     
just like the same other request also

i.e. /user/completedra/display_ra_list?type=20


Please suggest which rule will fulfill my request to redirect ?

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,224274,224484#msg-224484



More information about the nginx mailing list