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

Allow customising the list of HTTP headers to unset #944

Merged
merged 1 commit into from
Apr 29, 2021

Conversation

nbarrientos
Copy link
Contributor

This patchset adds a new parameter to foreman::config::apache called request_headers_to_unset containing a list of HTTP headers to be unset before proxy passing the request to the application. See the
associated issue for more information.

Please let me know if you'd rather to have the parameter exposed via init.pp instead.

Fixes #941

This patchset adds a new parameter to `foreman::config::apache` called
`request_headers_to_unset` containing a list of HTTP headers to be
unset before proxy passing the request to the application. See the
associated issue for more information.

Fixes theforeman#941
Copy link
Member

@ekohl ekohl left a comment

Choose a reason for hiding this comment

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

Please let me know if you'd rather to have the parameter exposed via init.pp instead.

I actually prefer it here. This can be considered advanced and only allowing that setting that via Hiera is good. This also makes it easy to set additional headers if we need to in the future. 👍

I've just started the tests and they should pass before merging. IMHO only waiting on that.

@ekohl ekohl merged commit 403d2d8 into theforeman:master Apr 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow customising request header filtering in vhost internal options
3 participants