views:

183

answers:

2

Hi, i run wordpress on nginx, when i post a comment for my post, i get this error "504 Gateway Timeout" with nginx, can anybody tell me how to get rid of this error? Thank you!

A: 

Hi,

Assuming you're using fastcgi:

This has been answered before in the following question:

http://stackoverflow.com/questions/561946/how-do-i-prevent-a-gateway-timeout-with-nginx

In short; Check out the configuration option 'fastcgi_read_timeout'.

Kvisle
A: 

Quickly you need to navigate on this links

see the similar or duplicate stacks on following links

  1. Django site on Nginx+FastCGI goes (504 gateway timeout)
  2. How do I prevent a Gateway Timeout with Nginx
  3. Drupal + Nginx + Php-cgi : 502 Bad Gateway error
JapanPro