wordpress nginx 错误“504 网关超时”
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/3642168/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
nginx error " 504 Gateway Timeout"
提问by Ikbear
I run wordpress on nginx and when I post a comment for my post, I get the error message "504 Gateway Timeout" from nginx. Can anybody tell me how to get rid of this error?
我在 nginx 上运行 wordpress,当我为我的帖子发表评论时,我收到来自 nginx 的错误消息“504 网关超时”。谁能告诉我如何摆脱这个错误?
回答by Pramendra Gupta
Quickly you need to navigate on this links
您需要快速浏览此链接
see the similar or duplicate stacks on following links
在以下链接上查看相似或重复的堆栈
回答by Kvisle
Assuming you're using fastcgi:
假设您使用的是 fastcgi:
This has been answered before in the following question:
之前已经在以下问题中回答了这个问题:
How do I prevent a Gateway Timeout with FastCGI on Nginx
In short; Check out the configuration option 'fastcgi_read_timeout'.
简而言之; 查看配置选项“fastcgi_read_timeout”。