---
title: "nginx php-fpm 504 gateway timeout"
author: "ggsonic"
date: "2013-05-20T16:37:51Z"
tags: []
categories: ["Web前端"]
slug: "nginx-php-fpm-504-gateway-timeout"
draft: false
lastmod: "2013-05-20T16:37:51Z"
id: 1872236
url: "https://ggsonic.iteye.com/blog/1872236"
---

make following changes to /etc/nginx/nginx.conf in http { section
proxy_connect_timeout  600s;
proxy_send_timeout  600s;
proxy_read_timeout  600s;
fastcgi_send_timeout 600s;
fastcgi_read_timeout 600s;