Jenkins URL in System configuration and broken reverse proxy plugin error

21 views
Skip to first unread message

Esben Rugbjerg

unread,
Mar 3, 2016, 11:27:06 AM3/3/16
to Jenkins Users
Hi,

I am putting my Jenkins server behind an nginx reverse proxy. I have a configuration of nginx which is working:

The important parts of the configuration:
server {
    location / {
          proxy_pass http://127.0.0.1:8084

          proxy_redirect     http://localhost  https://jenkins.example.com;
          proxy_redirect     http://          https://;
.....

Now when I set the 'Jenkins URL' in the system configuration of Jenkins is set to 
everything seems to be working fine. But if I change the value to 
which should be the correct one I get the 'It appears that your reverse proxy set up is broken' error message. This is very strange and I am worried that links in generated emails and such won't work if I use the localhost value.

What am I missing here ? What could be the problem ?

I am using Jenkins version 1.651

Regards 
Esben
Reply all
Reply to author
Forward
0 new messages