Nginx throws: 504 Gateway Time-Out

Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"

Top Level » CustomBuild » CustomBuild 2.0 » Nginx

Nginx throws: 504 Gateway Time-OutLast Modified: May 7, 2014, 2:18 pm
If you're receiving the message:

504 Gateway Time-Out

this often implies a php timeout.

This can usually be resolved by increasing the values for:


in the php.ini, and




Restart php-fpm and nginx after the change.

The default for fastcgi_read_timeout is 240 seconds (4 minutes).

© 2018 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST