Re: [go-nuts] Re: Update your code if you use golang.org/x/crypto/acme/autocert

2018-01-16 Thread alex
You can keep using your own "redirector": m.HTTPHandler(http.HandlerFunc(myRedirector)) The one provided by autocert package is just a handy default, especially for those who didn't need to serve on port 80 before. On 16 January 2018 at 15:12, oldCoderException wrote: > I haven't had a chance

[go-nuts] Re: Update your code if you use golang.org/x/crypto/acme/autocert

2018-01-16 Thread oldCoderException
I haven't had a chance to delve into this much yet, but for those of us who already have a "redirector" setup on port 80 to redirect ALL non-SSL traffic over to port 443 won't this introduce a problem? Or I suppose we could implement said redirection in the fallback handler, ditching the one w