rewrite url in upstream block

Gona nginx-forum at nginx.us
Mon Jun 16 16:06:04 UTC 2014


Hi,

I am using a query parameter in upstream module to serve request based on
consistent hashing. This query parameter is introduced in the request
handler module and not originally coming from the downstream. I would like
to remove this parameter once the job is done before sending it to an
upstream server but I couldn't see a place where to do this. Rewrite rules
are not allowed in upstream block. Is there a better way of doing this?

Thanks,
Gona

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



More information about the nginx mailing list