Re: [go-nuts] redirecting http to https

2019-09-25 Thread Dimas Prawira
I would rather to use nginx for redirecting from http to https. On Wed, Sep 25, 2019, 6:37 AM 'Julia Ma' via golang-nuts < golang-nuts@googlegroups.com> wrote: > Hi all, > I recently realized that request.URL.Scheme is not the correct field to > check whether a request is https or not (thank you

[go-nuts] redirecting http to https

2019-09-24 Thread 'Julia Ma' via golang-nuts
Hi all, I recently realized that request.URL.Scheme is not the correct field to check whether a request is https or not (thank you to this thread and other posts on the inter