Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

redirect /nix-dev to new location #377

Merged
merged 2 commits into from Apr 4, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 12 additions & 0 deletions netlify.toml
Expand Up @@ -10,6 +10,18 @@
status = 302
force = true

[[redirects]]
from = "/nix-dev"
to = "https://releases.nixos.org/nix-dev/index.html"
status = 302
force = true

[[redirects]]
from = "/nix-dev/*"
to = "https://releases.nixos.org/nix-dev/:splat"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@edolstra In this PR I'm assuming that I will upload nix-dev to nix-releases bucket. Would it be better to create new bucket for this eg. old.nixos.org or archive.nixos.org?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it is in another bucket, I still strongly suggest suffixing with /nix-dev/:splat so we can archive more things as required.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah let's use releases.nixos.org. Otherwise we'll have to set up another bucket + Cloudfront distribution + DNS.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

consider it done

status = 302
force = true

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