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

Nginx request buffering configuration #40

Open
etj opened this issue Apr 18, 2024 · 0 comments
Open

Nginx request buffering configuration #40

etj opened this issue Apr 18, 2024 · 0 comments
Assignees

Comments

@etj
Copy link
Contributor

etj commented Apr 18, 2024

uwsgi reports this warning when booting:

*** WARNING: you have enabled harakiri without post buffering. Slow upload could be rejected on post-unbuffered webservers ***

nginx is usually a buffered webserver, unless otherwise configured.

The configuration indeed states:

proxy_request_buffering off;

proxy_request_buffering off;

uwsgi_request_buffering off;

By removing buffering, django is aware about how many bytes have been transferred, so that it can send some transfer stats to the client real time.
Anyway such buffering may cause uwsgi to terminate connections while uploading.

We need to find out a way to deal with this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant