Sorry typo in posting...
Shouldn't the following result in http://127.0.0.1/test1 passing to
http://google.com ? It does not. It redirects back to 127.0.0.1
server {
listen *:80;
location /test1/ {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_pass http://google.com;
}
}
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,262255,262278#msg-262278
_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx