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;