有人知道golang使用自带ssl后,有什么办法让http跳转https

hellsam · 2021-06-04 01:02:06 · 1901 次点击

同时侦听80和443,80端口的请求一律返回301重定向到https

#1