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 :)