rewrite url in upstream block

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


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?


Posted at Nginx Forum:,250892,250892#msg-250892

More information about the nginx mailing list