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 hydra and nixops manuals to the latest hydra builds #344

Merged
merged 2 commits into from Mar 15, 2020

Conversation

samueldr
Copy link
Member

@samueldr samueldr commented Mar 15, 2020

With the move to netlify, the hydra and nixops manuals vanished, without a redirect. Considering search engines link to those manuals, I believe it's mandatory we keep cool URIs working.

Use a "200" redirect.

200: "OK". Redirects with this status code will change the server response without changing the URL in the browser address bar. This is used for rewrites and proxying.

This will keep the nixos.org/.../manual URL in the address bar, but serve the contents proxied from the hydra result.

@edolstra
Copy link
Member

These should be regular redirects, to proxies, since these pages are not part of the NixOS website and don't have the same styling.

@edolstra
Copy link
Member

I've changed them to 302.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants