Welcome! Log In Create A New Profile

Advanced

proxy_pass strips http when there are 2 or more redirect link

Jimish Jobanputra
August 08, 2012 04:26AM
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/.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

proxy_pass strips http when there are 2 or more redirect link

Jimish Jobanputra August 08, 2012 04:26AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 200
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