Skip to content

Commit c503e8e

Browse files
authored
Merge pull request #5560 from raft-tech/bug-client-502-uploading-multiple-files
Multi-File Upload Causing Nginx Rate Limit
2 parents 0d4bf83 + 341a512 commit c503e8e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tdrs-frontend/nginx/cloud.gov/locations.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
location ~ ^/(v1|admin|static/admin|swagger|redocs) {
3-
limit_req zone=limitreqsbyaddr;
3+
limit_req zone=limitreqsbyaddr burst=20 nodelay;
44
resolver 169.254.0.2;
55
set $backend http://{{env "BACKEND_HOST"}}.apps.internal:8080$request_uri;
66
proxy_pass $backend;

tdrs-frontend/nginx/local/locations.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ location = /nginx_status {
55
}
66

77
location ~ ^/(v1|admin|static/admin|static/drf-yasg|static/rest_framework|swagger|redocs) {
8-
limit_req zone=limitreqsbyaddr delay=5;
8+
limit_req zone=limitreqsbyaddr burst=20 nodelay;
99
set $backend http://${BACK_END}:8080$request_uri;
1010
proxy_pass $backend;
1111
proxy_set_header Host $host:3000;

0 commit comments

Comments
 (0)