mirror of
https://github.com/YunoHost-Apps/jenkins_ynh.git
synced 2024-09-03 19:26:18 +02:00
27 lines
759 B
Nginx Configuration File
27 lines
759 B
Nginx Configuration File
location YNH_LOCATION {
|
|
proxy_pass http://127.0.0.1:8080$request_uri;
|
|
|
|
proxy_redirect off;
|
|
|
|
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_set_header X-NginX-Proxy true;
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
|
|
proxy_max_temp_file_size 0;
|
|
|
|
client_max_body_size 10m;
|
|
client_body_buffer_size 128k;
|
|
|
|
proxy_connect_timeout 4m;
|
|
proxy_send_timeout 4m;
|
|
proxy_read_timeout 4m;
|
|
|
|
proxy_buffer_size 4k;
|
|
proxy_buffers 4 32k;
|
|
proxy_busy_buffers_size 64k;
|
|
proxy_temp_file_write_size 64k;
|
|
|
|
sendfile off;
|
|
}
|