Create a gist now

Instantly share code, notes, and snippets.

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