I can answer my own question. I ended up routing my Revel app to Nginx b/c I could never get @Intermernet's suggestion of using sudo revel run
to work.
Below are the key details from the nginx.conf and Revel app.conf files to make this work.
nginx.conf
server {
listen 80;
# listen [::]:80 default_server ipv6only=on;
root /usr/share/nginx/html; # not relevant, but gives error if root isn't set to something
index index.html index.htm; # not relevant
# Make site accessible from http://localhost/
# server_name localhost;
server_name my-personal-website.com;
location / {
proxy_pass http://127.0.0.1:9000;
}
}
}
Go Revel personalwebsiteapp app.conf
http.addr="127.0.0.1"
http.port=9000
After this, just start up Nginx, run your revel app and viola!, http://my-personal-website.com is now live.