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

Add apache req-resp limits #555

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft

Add apache req-resp limits #555

wants to merge 4 commits into from

Conversation

mmattel
Copy link
Contributor

@mmattel mmattel commented Jun 29, 2023

This adds configuration to the apache config to cover large headers for reverse proxying.

We have done the same for nginx, see Finalize the nginx Configuration.

Setting this to draft as I would like to get a review if the settings are correct. If there is an unmentioned apache specialist that could do a review pls invite.

@mmattel mmattel added the documentation Improvements or additions to documentation label Jun 29, 2023
Copy link
Contributor

@jnweiger jnweiger left a comment

Choose a reason for hiding this comment

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

I don't know.
Adding these directives may cause apache to allocate and free 128k on each call.
That is a probably wasteful.

I'd suggest to rather find the maximum real life header size. (This monstrous token + a few kb) and round that up to the nearest power of two, or so ...

Guess that 16k or 32k is sufficient in any case.

modules/ROOT/pages/depl-examples/bare-metal.adoc Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants