Skip to content

Conversation

@evgeni
Copy link
Member

@evgeni evgeni commented Feb 19, 2025

No description provided.

@ekohl
Copy link
Member

ekohl commented Feb 19, 2025

Tests are not happy, but this is indeed needed.

@evgeni
Copy link
Member Author

evgeni commented Feb 20, 2025

there you go, now CI should be happy again with me

<Location "/pulp/api/v3">
RequestHeader unset REMOTE-USER
RequestHeader unset REMOTE_USER
RequestHeader set X-FORWARDED-PROTO expr=%{REQUEST_SCHEME}
Copy link
Member

Choose a reason for hiding this comment

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

Looking at the lines above, do we need to unset the underscore variations?

Copy link
Member Author

Choose a reason for hiding this comment

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

of forwarded proto? modern gunicorn will reject it anyway, so I'd skip it.

Copy link
Member

Choose a reason for hiding this comment

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

I thought so too, but it looked inconsistent with the above.

@evgeni evgeni merged commit 173b35f into master Feb 20, 2025
17 checks passed
@evgeni evgeni deleted the http-headers branch February 20, 2025 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants