1
0
mirror of https://github.com/golang/go synced 2024-11-18 08:54:45 -07:00
go/cmd
Kevin Burke 37a1062ad0 cmd/tip: redirect http://tip.golang.org to https
At some point we switched tip.golang.org to run in GKE, which
terminates TLS directly on port 443. This requires a new technique
for detecting a plain HTTP connection. In addition we may want to run
talks.golang.org on App Engine Flex, which uses an X-Forwarded-Proto
header to indicate HTTP, so let's prepare for that possibility.

Fixes golang/go#19759.

Change-Id: Iddc567214c5d28f61c405db065aa1b3f2c92fd85
Reviewed-on: https://go-review.googlesource.com/38800
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-04-03 05:32:14 +00:00
..
benchcmp benchmark/parser, cmd/benchcmp: improve names of exported identifiers 2015-01-15 01:28:17 +00:00
bundle all: apply new machine-generated doc spec to files 2017-04-01 01:24:29 +00:00
callgraph x/tools: simplify and format code 2017-02-28 14:15:42 +00:00
cover cmd/cover: check os.Create error im html output 2017-01-08 00:00:17 +00:00
digraph tools: add import comments. 2014-12-09 22:42:16 +00:00
eg Revert "refactor/eg: remove vendor prefix from imported packages" 2016-11-30 00:13:03 +00:00
fiximports cmd/godoc, cmd/fiximports: fix or skip failing tests at tip 2016-10-12 15:24:30 +00:00
godex cmd/godex: handle printing of type aliases 2017-01-11 21:17:45 +00:00
godoc cmd/godoc: fix tests for cmd/compile refactorings 2017-03-21 23:01:40 +00:00
goimports cmd/goimports: flush to disk before diffing 2017-03-31 04:14:08 +00:00
gomvpkg go/buildutil: TagsFlag provides a flag.Value for setting build.Context.BuildTags from -tags flag. 2015-04-23 14:10:21 +00:00
gorename cmd/gorename: -d flag prints diffs instead of rewriting files 2015-12-30 15:25:00 +00:00
gotype cmd/gotype: make it compile against Go 1.8 and earlier 2017-03-14 21:50:22 +00:00
goyacc cmd/goyacc: remove empty branch 2017-03-15 21:33:42 +00:00
guru cmd/guru: Close before Remove a file 2017-03-28 13:38:24 +00:00
heapview cmd/heapview: remove needless slash 2017-03-28 13:38:09 +00:00
html2article x/tools/cmd/html2article: remove unused functions 2017-03-01 14:53:04 +00:00
present x/tools: simplify and format code 2017-02-28 14:15:42 +00:00
ssadump tools: updates for minimum Go version 1.6 2017-02-07 21:06:19 +00:00
stress all: fix plan9 failures 2016-01-28 00:31:03 +00:00
stringer cmd/stringer: tweak "Code generated by" comment to match new standard 2017-03-21 04:07:08 +00:00
tip cmd/tip: redirect http://tip.golang.org to https 2017-04-03 05:32:14 +00:00
toolstash cmd/toolstash: use strings.LastIndexAny 2017-03-28 14:23:59 +00:00