Created
August 22, 2014 09:48
-
-
Save marcodejongh/f22c899b5757017fbd27 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
http { | |
server { | |
listen 80; | |
server_name nvqhq.com; | |
location / { | |
proxy_pass http://localhost:3000/marketing; | |
proxy_http_version 1.1; | |
proxy_set_header Upgrade $http_upgrade; | |
proxy_set_header Connection "upgrade"; | |
proxy_set_header Host $host; | |
} | |
} | |
server { | |
listen 80; | |
server_name admin.nvqhq.com; | |
location / { | |
proxy_pass http://localhost:3000/admin; | |
proxy_http_version 1.1; | |
proxy_set_header Upgrade $http_upgrade; | |
proxy_set_header Connection "upgrade"; | |
proxy_set_header Host $host; | |
} | |
} | |
server { | |
listen 80; | |
server_name learners.nvqhq.com; | |
location / { | |
proxy_pass http://localhost:3000/learners; | |
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