diff --git a/appliances/jenkins/nginx.conf b/appliances/jenkins/nginx.conf index 7bf2a0c..760b128 100644 --- a/appliances/jenkins/nginx.conf +++ b/appliances/jenkins/nginx.conf @@ -55,7 +55,13 @@ http { root /var/www/jenkins/htdocs; location / { - proxy_pass http://127.0.0.1:8080/; + sendfile off; + proxy_pass http://127.0.0.1:8080; + proxy_redirect default; + 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_max_temp_file_size 0; } }