On 8 Dec 2017, at 20:58, Gianguido Sorà 
<g.so...@gmail.com<mailto:g.so...@gmail.com>> wrote:

You could run the two programs on the same vps by binding them to localhost and 
two different ports, and then use a reverse proxy (like nginx) to multiplex 
connections and add HTTPS.

This way you can have one machine that responds to two distinct domains, each 
of which will point to one of your application.

… and if you use Caddy (https://caddyserver.com) instead of nginx you both get 
more Go code running and, more importantly, trivially easy Let’s Encrypt 
certificates.

//jb

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to