Skip to content

Reverse Proxy max_body_size is incorrect

feld requested to merge feld/pleroma:fix/reverse-proxy-body-too-large into develop

This requires intense scrutiny, but I believe that max_body_size is incorrect and we should be using max_body_length.

I cannot figure out where max_body_size value is getting set. How it could ever work or how could anyone configure it?

Additional issue we need to solve is that we have no rate limiting for this. If you hit something that triggers the :body_too_large error we keep retrying over and over and you can see it in the logs.

Edited by feld

Merge request reports