Skip to content

Commit

Permalink
fix: update nginx timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
FacerAin committed Aug 10, 2023
1 parent d7de53c commit ca10839
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions nginx.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,23 @@
client_header_timeout 30m;
client_body_timeout 30m;
client_max_body_size 1024M;

keepalive_timeout 20m;

proxy_connect_timeout 6000;
proxy_send_timeout 6000;
proxy_read_timeout 6000;
send_timeout 6000;

proxy_buffers 16 16k;
proxy_buffer_size 32k;


upstream api_server {
server backend-cluster:8000; # API upstream
}


server {
listen 80;
location / {
Expand Down

0 comments on commit ca10839

Please sign in to comment.