Nginx
Posted by user_rexn7b in general.
Hello, I’m running an API gateway (Node.js, port 16971) on my server, reachable at https://infinityapi.wisp.uno. Requests with a body larger than about 1 MB are rejected by your reverse proxy before they reach my container. The client receives: 413 Request Entity Too Large (served by nginx), url: https://infinityapi.wisp.uno/responses This is the default nginx client max body size of 1 MB. My application has its own configurable limit (100 MB) and handles large bodies correctly, so the rejection comes only from the proxy in front of it. Legitimate requests from AI coding clients routinely exceed 1 MB because they send the whole conversation context, which can include screenshots. Could you please set the following for my domain / allocation: client max body size 100m; (at least 50m if 100m is not possible) proxy read timeout 3600s; and proxy send timeout 3600s; (long running streaming responses) proxy buffering off; if possible (the API uses Server Sent Events) If this can’t be changed on a per domain basis, could you tell me whether there is another supported way to accept request bodies of 50–100 MB, for example a different port or domain that bypasses the shared proxy, or a setting in the panel that I may have missed? Thank you very much!
Replies
Related discussions
- Need to move to another node (solved)
- Man check wisp.uno (solved)
- HTTP 429 — Too Many Requests (Cloudflare Error 1015) (solved)
- Discord Bot Unable to Connect — HTTP 429 with 13-Hour Retry Time (solved)
- Error IMPORTANT (solved)