commit | ab3756d1dc926f140fa13ba029449e2cf7431713 | [log] [tgz] |
---|---|---|
author | Dmitri Shuralyov <dmitshur@golang.org> | Fri Oct 30 18:15:36 2020 -0400 |
committer | Dmitri Shuralyov <dmitshur@golang.org> | Fri Nov 06 23:45:32 2020 +0000 |
tree | 98c6f0b4400f79f72c4bec1e8a7bbd0bf9a6edbf | |
parent | 715d13b7ec7fdfb51741d21bba347a7be9ece78e [diff] |
[x/tour] tour: redirect HTTP traffic to HTTPS Set secure to always on all handlers so that HTTP traffic is redirected to an HTTPS URL with the same path. References: • https://cloud.google.com/appengine/docs/standard/go/application-security#https_requests • https://cloud.google.com/appengine/docs/standard/go/config/appref#handlers_secure For golang/go#42281. Change-Id: Ic03e01d5858e1e5b8ae1b523ab34d970e1403ce0 Reviewed-on: https://go-review.googlesource.com/c/tour/+/266817 Trust: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Alexander Rakoczy <alex@golang.org> Reviewed-by: Carlos Amedee <carlos@golang.org> X-Tour-Commit: 59417492f03e0d55e544815ff163973cef919f67
This repository holds the Go Website server code and content.
The easiest way to install is to run go get -u golang.org/x/website
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/website
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the time repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/website:” in the subject line, so it is easy to find.