Welcome! Log In Create A New Profile

Advanced

Re: Hide Jenkins on port 8080 behind NGINX using proxy_pass ?

October 16, 2015 12:19PM
Thank you for your help Nurahmadi. I will look for gitlab forum solutions.

If I move the following location section inside the gitlab-http.conf file both GitLab and Jenkins proxy_pass will works

Assuming that modifying the omnibus version of gitlab-http.conf is the only way to make it work, then my problem has changed
to how do I maintain gitlab-http.conf?

My problem is that all modifications will be destroyed if I ever run gitlab-ctl reconfigure.

Hopefully I can find a gitlab user forum to research solutions to maintaining custom code in
gitlab-http.conf

location ^~ /jenkins {
proxy_pass http://localhost:8081;
proxy_read_timeout 90;

# Fix the “It appears that your reverse proxy set up is broken" error.
proxy_redirect http://localhost:8080 $scheme://example.com;

# Optionally, require HTTP basic auth.
# auth_basic "Please authenticate to use Jenkins";
# auth_basic_user_file /opt/nginx/htpasswd;
}
Subject Author Posted

Hide Jenkins on port 8080 behind NGINX using proxy_pass ?

edofthemountain October 15, 2015 05:42PM

Re: Hide Jenkins on port 8080 behind NGINX using proxy_pass ?

Nurahmadie Nurahmadie October 15, 2015 05:56PM

Re: Hide Jenkins on port 8080 behind NGINX using proxy_pass ?

edofthemountain October 15, 2015 05:59PM

Re: Hide Jenkins on port 8080 behind NGINX using proxy_pass ?

edofthemountain October 16, 2015 09:46AM

Re: Hide Jenkins on port 8080 behind NGINX using proxy_pass ?

edofthemountain October 16, 2015 09:48AM

Re: Hide Jenkins on port 8080 behind NGINX using proxy_pass ?

edofthemountain October 16, 2015 11:00AM

Re: Hide Jenkins on port 8080 behind NGINX using proxy_pass ?

Nurahmadie Nurahmadie October 16, 2015 11:14AM

Re: Hide Jenkins on port 8080 behind NGINX using proxy_pass ?

edofthemountain October 16, 2015 11:56AM

Re: Hide Jenkins on port 8080 behind NGINX using proxy_pass ?

edofthemountain October 16, 2015 12:19PM

Re: Hide Jenkins on port 8080 behind NGINX using proxy_pass ?

Nurahmadie Nurahmadie October 16, 2015 12:26PM

Re: Hide Jenkins on port 8080 behind NGINX using proxy_pass ?

Nurahmadie Nurahmadie October 16, 2015 12:28PM

Re: Hide Jenkins on port 8080 behind NGINX using proxy_pass ?

Francisco V. October 16, 2015 01:34PM

Re: Hide Jenkins on port 8080 behind NGINX using proxy_pass ?

edofthemountain October 16, 2015 03:39PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 205
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready