-
-
Save lujiacn/756ea288360c2b4e32e0 to your computer and use it in GitHub Desktop.
Revel Framework nginx.conf to make Revel app work outside of localhost, i.e., on my live, personal-website.com
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
http{ | |
index index.html; | |
server { | |
listen 80; | |
root /gocode/src/personalwebsiteapp; | |
server_name personal-website.com; | |
location ~ / { | |
proxy_pass http://127.0.0.1:8888; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment