dockerjenkins_tutorial
dockerjenkins_tutorial copied to clipboard
It appears that your reverse proxy set up is broken.
Hi Max,
I know you are super busy and really hope you even just glimpse at my issue. I'm having issues with the Jenkins container. It's behind my NGINX proxy. I access it as you do on http://localhost:8080. After I log in I get kicked to http://localhost. Some links on Jenkins also does the same and removes the port which brakes the screen.
My NGINX conf file is like so...
server {
listen 80;
server_name "";
access_log off;
location / {
proxy_pass http://jenkins_master_1:8080;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto http;
proxy_max_temp_file_size 0;
proxy_connect_timeout 150;
proxy_send_timeout 100;
proxy_read_timeout 100;
proxy_buffer_size 8k;
proxy_buffers 4 32k;
proxy_busy_buffers_size 64k;
proxy_temp_file_write_size 64k;
}
}
I've googled, tried adding a new listener to port 8080 like you mentioned on your tutorial. Trying to set this up to convince containers for work :/.
Thanks for any help you can!
Thanks, Kieran