stack: flask 0.10 + uwsgi 1.4.5 + nginx 1.2.3
I can upload small files (<100k) through my application but larger ones fail. uwsgi log shows:
Invalid (too big) CONTENT_LENGTH. skip.
nginx log does not show anything useful.
I tried the following, without success:
- [nginx conf] client_max_body_size 0 or 20M
- [uwsgi conf] limit-post: 0 or 20000000
- [flask conf] MAX_CONTENT_LENGTH = 20000000
So my questions:
- Is there a conf somewhere else i can change?
- Is there a way of verifying the used options at runtime on uwsgi/nginx?