With the change to the new Go wrapper, it's server feature does not support HTTP redirection when listening on an HTTPS connection. The replacement functionality is a javascript redirect using: <html>use https <script>location.protocol = "https:";</script> </html> which will maintain the same host header the browser is currently using.