> So I ended up biting the bullet and learning how to use systemd. The unit > file I ended up with is below. > Given how complex your file is, let me suggest you a simpler alternative: use either caddy or revproxyry as a reverse proxy. You start two processes, the reverse proxy and your service, and just point the reverse proxy to your service. Since reverse proxy is just a binary executable, the deployment is just scp + ~5-10 lines config file + a super simple systemd config file. Cheers, Marko -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAGu4bVBGL9GN%2Bpy9JjB5nDKKf9N6gwNaeioj6JSf3_j6ATNO5w%40mail.gmail.com.