Re: [go-nuts] [ANN] reverse proxy with ssl in less than 100 lines of code

2018-01-03 Thread Peter Waller
On 28 December 2017 at 16:54, jzs wrote: > > Any feedback is more than welcome > Looks nice. A few minor ideas: There is code which appears after log.Fatal() - that code won't run because log.Fatal calls exit. Therefore the the waitgroup could be dropped and you'd have something shorter and stil

[go-nuts] [ANN] reverse proxy with ssl in less than 100 lines of code

2017-12-28 Thread jzs
For those interested in hosting multiple golang apps on the same host without using nginx/apache/[insert reverse proxy here]. Shameless plug. I'm the author. But without golang.org/x/crypto/acme/autocert it wouldn't have been possible. https://journal.sketchground.dk/entry/2017-11-25-minimal-re