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_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