Skip to content

Commit cbacef0

Browse files
committed
update nginx redirects for netter canonical urls
1 parent 67fed3e commit cbacef0

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

netlify.toml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
skipPatterns = [ ".rss", ".gif", ".jpg" ]
1515
checkExternal = true
1616

17-
18-
1917
# Sets our asset optimization
2018
[build.processing.css]
2119
bundle = true
@@ -41,9 +39,16 @@
4139
[plugins.inputs.audits]
4240
output_path = "reports/lighthouse.html"
4341

44-
45-
4642
# We need this so preview environments and the base site look ok on their own
43+
[[redirects]]
44+
from = "https://lando-nginx.netlify.app"
45+
to = "https://lando-nginx.netlify.app/plugins/nginx/index.html"
46+
status = 301
47+
force = true
48+
[[redirects]]
49+
from = "https://lando-nginx.netlify.app/*"
50+
to = "https://docs.lando.dev/:splat"
51+
status = 301
4752
[[redirects]]
4853
from = "/"
4954
to = "/plugins/nginx"

0 commit comments

Comments
 (0)