1
0
Fork 0
mirror of synced 2024-06-01 10:09:48 +12:00

Updating nginx conf to allow export a lot longer period before timeout.

This commit is contained in:
mike12345567 2022-11-09 11:33:57 +00:00
parent bb5f0944cc
commit d0eb2d42f2
2 changed files with 18 additions and 0 deletions

View file

@ -66,6 +66,15 @@ http {
proxy_set_header Connection "";
}
location /api/backups/ {
proxy_read_timeout 1800s;
proxy_connect_timeout 1800s;
proxy_send_timeout 1800s;
proxy_pass http://app-service;
proxy_http_version 1.1;
proxy_set_header Connection "";
}
location /api/ {
proxy_read_timeout 120s;
proxy_connect_timeout 120s;

View file

@ -116,6 +116,15 @@ http {
rewrite ^/worker/(.*)$ /$1 break;
}
location /api/backups/ {
proxy_read_timeout 1800s;
proxy_connect_timeout 1800s;
proxy_send_timeout 1800s;
proxy_pass http://app-service;
proxy_http_version 1.1;
proxy_set_header Connection "";
}
location /api/ {
# calls to the API are rate limited with bursting
limit_req zone=ratelimit burst=20 nodelay;