nginx keepalive_timeout 300; 504 Gateway Time-out

实践:

1、


http {
include mime.types;
#include luawaf.conf;

include proxy.conf;

default_type application/octet-stream;

server_names_hash_bucket_size 512;
client_header_buffer_size 32k;
large_client_header_buffers 4 32k;
client_max_body_size 50m;

sendfile on;
tcp_nopush on;

#keepalive_timeout 60;
keepalive_timeout 300;

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

posted @ 2023-04-02 20:03  papering  阅读(105)  评论(0编辑  收藏  举报