I want to see response of URL2 if URL1 is opened.
And without redirections, preserving URL1 and pass all GET params to URL2
URL1: "http://182.6.15.191/something.php"
URL2: "http://www.example.com/another"
I tried something like this, but nginx proxy mod is quite huge to understand
location /something.php {
proxy_pass http://somethingelse.com/else;
proxy_set_header Host $host;
}
But this redirects URL and seems like doesn't pass GET params
And without redirections, preserving URL1 and pass all GET params to URL2
URL1: "http://182.6.15.191/something.php"
URL2: "http://www.example.com/another"
I tried something like this, but nginx proxy mod is quite huge to understand
location /something.php {
proxy_pass http://somethingelse.com/else;
proxy_set_header Host $host;
}
But this redirects URL and seems like doesn't pass GET params