Created
October 2, 2012 16:43
-
-
Save feesta/3820915 to your computer and use it in GitHub Desktop.
Nginx config to forward traffic to a port.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user www-data; | |
worker_processes 5; | |
worker_rlimit_nofile 8192; | |
events { | |
worker_connections 4096; | |
} | |
http { | |
server { | |
listen 80; | |
location /nodejs { | |
proxy_pass http://127.0.0.1:3000; | |
} | |
location / { | |
root /var/www/; | |
index index.html; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment