You can also code both sites in one go binary then use the sni TLS extension to determine which website to display. This is exactly how Caddy and every other reverse proxy does it.
On Fri, Dec 8, 2017, 11:33 PM Andrew <angang....@gmail.com> wrote: > Thanks, I'll try Caddy first. > > -- > 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. > -- 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.