Welcome! Log In Create A New Profile

Advanced

Using reverse proxy for Jenkins

Posted by wamilou 
Using reverse proxy for Jenkins
August 11, 2014 10:48AM
Hello there,

I tried nginx and love it now. But I have some problem with Jenkins, the reverse proxy works for almost everything with Jenkins but not with "launching a build" and adding new tasks on a project.

I made this simple file :

upstream app_server {
server 127.0.0.1:8082 fail_timeout=0;
}

server {
listen 80;
listen [::]:80 default ipv6only=on;
server_name ci.pulpgroup.org;

location / {
proxy_pass http://localhost:8082/;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_redirect off;
}
}

If someone knows how to make a virtual host for jenkins with nginx, please help me :)
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 96
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready