I run wordpress on nginx and when I post a comment for my post, I get the error message "504 Gateway Timeou开发者_如何学Ct" from nginx. Can anybody tell me how to get rid of this error?
Quickly you need to navigate on this links
see the similar or duplicate stacks on following links
- Django site on Nginx+FastCGI goes (504 gateway timeout)
- How do I prevent a Gateway Timeout with Nginx
- Drupal + Nginx + Php-cgi : 502 Bad Gateway error
Assuming you're using 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'.
精彩评论