Skip to content

Instantly share code, notes, and snippets.

@hammerdr
Created December 9, 2014 22:56
Show Gist options
  • Save hammerdr/0dc4dc67e16976352f90 to your computer and use it in GitHub Desktop.
Save hammerdr/0dc4dc67e16976352f90 to your computer and use it in GitHub Desktop.
GoCD Server Nginx Proxy
worker_priority -5;
worker_processes auto;
worker_rlimit_nofile 16384;
events {
worker_connections 8192;
}
http {
server {
listen 80;
server_name build.gopro-platform.com;
location / {
proxy_pass http://localhost:8153;
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_connect_timeout 150;
proxy_send_timeout 100;
proxy_read_timeout 100;
proxy_buffers 4 32k;
client_max_body_size 8m;
client_body_buffer_size 128k;
}
}
}
@mbuiro
Copy link

mbuiro commented Jun 27, 2018

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment