Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It appears that your reverse proxy set up is broken. #54

Open
SmiffyKMc opened this issue Feb 27, 2019 · 0 comments
Open

It appears that your reverse proxy set up is broken. #54

SmiffyKMc opened this issue Feb 27, 2019 · 0 comments

Comments

@SmiffyKMc
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant