Golang - TLS/Https for multiple domains and redirect from http

Опубликовано: 01 Ноябрь 2024
на канале: Story Feet
2,612
52

In this video we make a server for https with multiple domains. If it recieves a http request, it redirects to the same domain, but tls-ified.

Code here: https://github.com/coderconvoy/mhttps

This is because of a recent Google Chrome Change where if your site is http only, that it is insecure.