redirect other domain requests to docs.gomods.io (#663)

* redirect http{,s}://gomods{.io,-athens.netlify.com} to https://docs.gomods.io

* forgot quotes
This commit is contained in:
Rob j Loranger
2018-09-14 13:03:34 -07:00
committed by Carolyn Van Slyck
parent 6af44242fb
commit ce45672928
+15
View File
@@ -6,3 +6,18 @@
publish = "docs/public/"
command = "hugo -v"
environment = { HUGO_VERSION = "0.37" }
[[redirects]]
from = "https://gomods.io/*"
to = "https://docs.gomods.io/:splat"
status = 303
[[redirects]]
from = "http://gomods.io/*"
to = "https://docs.gomods.io/:splat"
status = 303
[[redirects]]
from = "https://gomods-athens.netlify.com/*"
to = "https://docs.gomods.io/:splat"
status = 303