Skip to content

Instantly share code, notes, and snippets.

@zerokarmaleft
Created July 13, 2015 16:02
Show Gist options
  • Save zerokarmaleft/0b497c7790b4ef575b44 to your computer and use it in GitHub Desktop.
Save zerokarmaleft/0b497c7790b4ef575b44 to your computer and use it in GitHub Desktop.
upstream http_backend {
server localhost:3000;
keepalive 32;
}
server {
location /ralphedwards/ {
proxy_pass http://http_backend/;
proxy_http_version 1.1;
proxy_set_header Connection "";
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
access_log /var/log/nginx/ralphedwards.access.log;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment