1
0
Fork 0
mirror of synced 2024-06-29 11:31:06 +12:00

increasing burst limit on k8s

This commit is contained in:
Martin McKeaveney 2022-02-16 12:24:43 +01:00
parent 687ff5acd6
commit dd6f77684c

View file

@ -9,7 +9,7 @@ events {
}
http {
limit_req_zone $binary_remote_addr zone=ratelimit:10m rate=10r/s;
limit_req_zone $binary_remote_addr zone=ratelimit:10m rate=20r/s;
include /etc/nginx/mime.types;
default_type application/octet-stream;
charset utf-8;
@ -52,6 +52,7 @@ http {
}
location = / {
port_in_redirect off;
proxy_http_version 1.1;
proxy_set_header Connection $connection_upgrade;
proxy_set_header Upgrade $http_upgrade;
@ -62,6 +63,7 @@ http {
}
location /builder/ {
port_in_redirect off;
proxy_http_version 1.1;
proxy_set_header Connection $connection_upgrade;
proxy_set_header Upgrade $http_upgrade;
@ -72,6 +74,7 @@ http {
}
location ~ ^/(builder|app_) {
port_in_redirect off;
proxy_http_version 1.1;
proxy_set_header Connection $connection_upgrade;
proxy_set_header Upgrade $http_upgrade;