Accessing the web prompts the following error:
Nginx Log Report upstream timed out (110:connection timed out) while reading response header error.
Environment: Nginx agent, to Apache
Workaround:
1, because the time-out of Nginx Proxy is too short, it is recommended to modify the following configuration file.
[[Email protected] ~]# vi /usr/local/kk-mail/config/nginx/proxy.confproxy_connect_timeout 600;proxy_read_timeout 600;proxy_send_timeout 600; [[email protected] ~]# vi /usr/local/kk-mail/config/nginx/vhost/default.confserver { listen 80 default; charset utf-8; server_name mail.test.com; large_client_header_buffers 4 16k; client_max_body_size 300m; client_body_buffer_size 128k; proxy_connect_timeoUt 600; proxy_read_timeout 600; proxy_send_timeout 600; proxy_buffer_size 64k; proxy_buffers 4 32k; proxy_busy_buffers_size 64k; proxy_temp_ FILE_WRITE_SIZE 64K;   &NBSP, ... ..... ..... ..... ..... ..... ..... ..... ....... .............. ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ....... .......
2, the last restart Nginx service
Access Webmail Tip An error occurred errors