Created
September 10, 2013 21:14
-
-
Save chriswessels/6515786 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#worker_processes 2; | |
events { | |
worker_connections 1024; | |
} | |
http { | |
include mime.types; | |
gzip on; | |
server { | |
listen 80; | |
server_name your-app.com *.your-app.com; | |
location / { | |
proxy_pass http://127.0.0.1:2000/; | |
proxy_http_version 1.1; | |
proxy_set_header Upgrade $http_upgrade; | |
proxy_set_header Connection "upgrade"; | |
proxy_set_header Host $host; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment