From 05b42a4b5e58f758851f44f7e0a2171fde2a62f7 Mon Sep 17 00:00:00 2001 From: Jimmy Monin Date: Sat, 3 Jun 2017 17:10:21 +0200 Subject: [PATCH] Extend timeouts for import/export operations: - for Nginx in nginx.conf - add a php-fpm.ini file to handle FPM timeout --- conf/nginx.conf | 4 ++++ conf/php-fpm.ini | 1 + 2 files changed, 5 insertions(+) create mode 100644 conf/php-fpm.ini diff --git a/conf/nginx.conf b/conf/nginx.conf index 3fc9825..9867550 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -5,6 +5,10 @@ location __PATH__/ { rewrite ^ https://$server_name$request_uri? permanent; } + client_body_timeout 60m; + proxy_read_timeout 60m; + fastcgi_read_timeout 60m; + try_files $uri @__NAME__; location ~ ^__PATH__/app\.php(/|$) { diff --git a/conf/php-fpm.ini b/conf/php-fpm.ini new file mode 100644 index 0000000..89e7572 --- /dev/null +++ b/conf/php-fpm.ini @@ -0,0 +1 @@ +max_execution_time=3600 \ No newline at end of file