Skip to content

Instantly share code, notes, and snippets.

@zk
Created May 9, 2012 20:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zk/2648518 to your computer and use it in GitHub Desktop.
Save zk/2648518 to your computer and use it in GitHub Desktop.
worker_processes 1;
error_log logs/error.log;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 0;
server {
listen 4000;
server_name localhost;
location /v1 {
proxy_pass http://localhost:3000;
}
location / {
proxy_pass http://localhost:4001;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment