增加504超时错误 [英] Increasing 504 timeout error

查看:102
本文介绍了增加504超时错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么办法可以使错误504网关超时更长,如果可以的话,如何以及在哪里更改文件的位置.我在centos 6上使用nginx

Is there any way I can make the error 504 gateway timeout longer if so how and where is the file to change it located. I am using nginx on centos 6

推荐答案

根据您所使用的网关的类型,您应该使用类似以下的命令:

Depending on the kind of gateway you have you should use something like:

proxy_read_timeout 600s;

检查文档: http://nginx.org/en/docs/http /ngx_http_proxy_module.html#proxy_read_timeout

这篇关于增加504超时错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆