Welcome! Log In Create A New Profile

Advanced

Follow redirect 301 and proxy_pass last location found

Posted by Prova 
Follow redirect 301 and proxy_pass last location found
February 09, 2017 05:29AM
Hello guys,

I'm trying to resolve this problem:

First URL: http://first-domain.com/?some_parameters=123

Return Header Location (301) at this another url:
http://second-domain.com/?some_other_parameters=456

Second Url Header Location (301) at the next url:
http://third-domain.com/?some_other_other_parameters=789

OK, I want to proxy pass this last url http://third-domain.com/?some_other_other_parameters=789 mantaining the ip of my reverse proxy server.

This is the first configuration that I tried, that should follow 301:

https://dpaste.de/aeNw/raw

Another kind of configuration that I've tried is this one:

https://dpaste.de/Xet5/raw


Can you help me to find the right solution?

Thank you very much in advance.

Cheers.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

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