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

Follow redirects when installing via curl #154

Merged
merged 1 commit into from Sep 10, 2020
Merged

Conversation

agam
Copy link
Contributor

@agam agam commented Sep 10, 2020

I came across this when trying to install on a fresh VPS instance. The -L flag was necessary to get it to work.

For reference, here is the (request elided) response part when running curl https://nixos.org/nix/install --verbose

* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* old SSL session ID is stale, removing
* Connection state changed (MAX_CONCURRENT_STREAMS == 150)!
< HTTP/2 301
< age: 21
< content-length: 0
< date: Thu, 10 Sep 2020 08:15:30 GMT
< location: https://releases.nixos.org/nix/nix-2.3.7/install
< server: Netlify
< via: 1.1 42f9f0e9bd0296c3bb45648019b2dce5.cloudfront.net (CloudFront)
< x-amz-cf-id: KnFHvob-NJ_lChDqqK4tnjrWyo2fo_FOoSkLrcsOYyrBXz4mLdsWkQ==
< x-amz-cf-pop: LAX3-C3
< x-cache: Hit from cloudfront
< x-nf-request-id: 6500914d-212f-4bc7-be1c-1678343eee6f-19883675

Copy link
Contributor

@rnhmjoj rnhmjoj left a comment

Choose a reason for hiding this comment

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

Thank you!

@rnhmjoj rnhmjoj merged commit 769daa2 into NixOS:master Sep 10, 2020
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

2 participants