Skip to content

Commit

Permalink
Try a 200 redirect for install scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed Mar 13, 2020
1 parent 63902bf commit b87892e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions netlify.toml
Expand Up @@ -16,6 +16,12 @@
status = 301
force = true

[[redirects]]
from = "/releases/*/install"
to = "https://releases.nixos.org/:splat"
status = 200
force = true

[[redirects]]
from = "/releases/*"
to = "https://releases.nixos.org/:splat"
Expand Down

0 comments on commit b87892e

Please sign in to comment.