Jenkins and Nginx


Sunday, 13 July 2014

I was having a bit of trouble getting Jenkins running behind nginx without that pesky it appears that your reverse proxy set up is broken error message.

As it turns out, the solution is simple: Lose the trailing slash in the proxy_pass statement.

proxy_pass  http://127.0.0.1:8080/; # bad
proxy_pass  http://127.0.0.1:8080;  # good

Thanks to this comment for this simple fix.