Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Revel Framework nginx.conf to make Revel app work outside of localhost, i.e., on my live, personal-website.com
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;
}
}
}

Thanks I used this one for a vagrant box locally.
Its right on the money 💵
Thank you!

Thanks, proxy_pass is awesome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment