-
-
Notifications
You must be signed in to change notification settings - Fork 119
Reapply "hydra-proxy: replace abuse handling with anubis" #703
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
Conversation
appendHttpConfig = '' | ||
map $http_x_from $upstream { | ||
default "anubis"; | ||
nix.dev-Uogho3gi "hydra-server"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume this is the difference that's going to allow this to avoid the problem we ran into last time? (I don't understand it)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this checking x-forwarded-for? This could need a comment because it's also not clear to me how it works.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but I don't understand what's different from last time.
@mweinelt: this has been deployed, right? So do we merge to avoid rewriting the deploy? |
https://nix.dev/manual/nix/development/ is a redirect, not sure. I thought it was reverse proxying when we first tried this. But the resulting page seems to have same-site cookie stuff going wrong. https://hydra.nixos.org/build/298617737/download/1/manual |
Excluded build result downloads, let's hope bots don't scrape those 🤷 |
Didn't go as planned? I see this one broken now: https://nix.dev/manual/nix/development/ |
Mhm. Maybe we should remove this part of nix.dev for now and re-add it later when we have have actual build development docs for nix.dev. I don't want to depend on hydra for this feature. |
LOL. I swear the behavior of Netlify changed between 8 hours ago and now. It did not reverse proxy hydra anymore and redirected instead, but now it does. Will look into it in a bit. |
Blargh. Netlify just looks up the 302 from |
This reverts commit 4900942.