Raise the upload rate limit to 30/min, burst 20
Dropping several pictures onto a canvas page uploads them all at once, which the old 5/min, burst 3 limit cut off after three. Uploading needs a signed-in user and accounts are admin-created, so a far higher ceiling is still safe against filling the volume. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -148,7 +148,7 @@
|
||||
}
|
||||
|
||||
location $BACKEND_ENDPOINT/messages/upload {
|
||||
limit_req zone=upload burst=3 nodelay;
|
||||
limit_req zone=upload burst=20 nodelay;
|
||||
rewrite ^$BACKEND_ENDPOINT/(.*)$ /$1 break;
|
||||
proxy_pass $upstream_backend;
|
||||
proxy_set_header Host $host;
|
||||
|
||||
Reference in New Issue
Block a user