nginx 默认超时时间多少
nginx的默认超时时间为60秒。这个值可以通过修改nginx配置文件中的"timeout"指令来改变。例如,要将超时时间设置为120秒,可以将以下指令添加到nginx配置文件中:
proxy_connect_timeout 120s; proxy_send_timeout 120s; proxy_read_timeout 120s;
这里使用的是代理模块的超时时间指令,如果你使用其他模块,需要使用相应模块的超时时间指令。