> 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.
>
>
Thanks, Marko, but I'm not sure that's simpler.  My unit file has exactly 
one line devoted to cert renewal.

ExecStartPre=+/usr/bin/certbot renew

All the rest is what's needed to run and  restart infinite-etudes under 
systemd.

Cheers,
Mike



 

-- 
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/2f901fed-f521-4bfd-84a6-933a52861f47%40googlegroups.com.

Reply via email to