Last active
March 10, 2018 04:10
-
-
Save tim-peterson/6774608 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
Thanks I used this one for a vagrant box locally.
Its right on the money 💵
Thank you!