Nginx Parameter Adjustment
Nginx. conf
Server_names_hash_bucket_size 256;
Client_header_buffer_size 256 K;
Large_client_header_buffers 4 256 K;
Client_max_body_size 50 m;
Sendfile on;
Tcp_nopush on;
Keepalive_timeout 200;
Tcp_nodelay on;
Client_body_buffer_size 256 K;
Client_header_timeout 3 m;
Client_body_timeout 3 m;
Send_timeout 3 m;
Server_tokens off;
Fastcgi_connect_timeout 300;
Fastcgi_send_timeout 300;
Fastcgi_read_timeout 300;
Fastcgi_buffer_size 128 K;
Fastcgi_buffers' 4 128 K;
Fastcgi_busy_buffers_size 256 K;
Fastcgi_temp_file_write_size 256 K;
Proxy_connect_timeout 300;
Proxy_read_timeout 300;
Proxy_send_timeouts 300;
Proxy_buffer_size 128 K;
Proxy_buffers 4 128 K;
Proxy_busy_buffers_size 256 K;
Proxy_temp_file_write_size 256 K;
Vhost
Client_max_body_size 40 m;
Client_body_buffer_size 256 K;
Proxy_connect_timeout 900;
Proxy_send_timeouts 900;
Proxy_read_timeout 900;
Proxy_buffer_size 256 K;
Proxy_buffers 4 256 K;
Proxy_busy_buffers_size 256 K;
Proxy_temp_file_write_size 256 K;
Form submission 502 in nginx reverse proxy