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 
http://localhost:8084
everything seems to be working fine. But if I change the value to 
https://jenkins.example.com
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

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/03c39b8c-fa78-4574-8099-f0160d5a0ceb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to