Hide Jenkins on port 8080 behind NGINX using proxy_pass ?

edofthemountain nginx-forum at nginx.us
Fri Oct 16 13:46:39 UTC 2015

I am trying to simplify my proxy_pass problem and eliminate port issues.

Shouldn't the following result in passing to
http://google.com ?  It redirects back to

server {
  listen *:80;

   location /test1127.0.0.1/ {
      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,262277#msg-262277

More information about the nginx mailing list