Welcome! Log In Create A New Profile

Advanced

Hello everyone, I'm new here :)

Posted by wamilou 
Hello everyone, I'm new here :)
August 03, 2014 04:55AM
Hi all,

I found nginx like 1 week ago and from that moment, I didn't want to use it so I used Apache.
But yesterday, I want to try it so I installed it and I love it : it's very fast !

But I have one problem with it, it's about Jenkins behind nginx proxy : it doesn't work for launching a build and adding task in project's config.
I use this "virtual host" :

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;
}
}

Like I said, it's just about this 2 things : launching a build and adding tasks in project's config.
I don't know if I'm doing something wrong cause I'm new to nginx.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 73
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready