proxy_pass strips http when there are 2 or more redirect link

Jimish Jobanputra lists at ruby-forum.com
Wed Aug 8 08:24:05 UTC 2012


Hello Guys,

I am using proxy_pass to do something like this:

proxy_pass
'http://affiliates.somedomain.com/ez/ciaapkznke/&subid1=&lnkurl=http://www.flipkart.com/%3Fpid=9780099579939%26affid%3Dtyroo%26cmpid%3Daffiliate_promo_tyroo'

But what happens is it passes the request directly to
"http://www.flipkart.com/%3Fpid=9780099579939%26affid%3Dtyroo%26cmpid%3Daffiliate_promo_tyroo"
(second http part of the proxy_pass link)

It does not hit http://affiliates.somedomain.com/ez/ciaapkznke/ at all.

Can anyone help me with the same?

Thanks!

-- 
Posted via http://www.ruby-forum.com/.



More information about the nginx mailing list