From daa2bd0be889d3b19bea41dcf5f2f20a97ee2f42 Mon Sep 17 00:00:00 2001 From: aptalca Date: Wed, 23 Oct 2019 18:22:35 -0400 Subject: [PATCH] increase fastcgi timeouts --- README.md | 1 + readme-vars.yml | 1 + root/defaults/default | 5 ++--- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9819cbc..9cddffa 100644 --- a/README.md +++ b/README.md @@ -193,6 +193,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64 ## Versions +* **23.10.19:** - Increase fastcgi timeouts (existing users need to manually update). * **19.09.19:** - Update project website url. * **28.06.19:** - Rebasing to alpine 3.10. * **05.05.19:** - Rebase to alpine 3.9, use new armv7 image format. diff --git a/readme-vars.yml b/readme-vars.yml index d7364e1..c8cff49 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -38,6 +38,7 @@ app_setup_block: | More info at [lychee]({{ project_url }}). # changelog changelogs: + - { date: "23.10.19:", desc: "Increase fastcgi timeouts (existing users need to manually update)." } - { date: "19.09.19:", desc: "Update project website url." } - { date: "28.06.19:", desc: "Rebasing to alpine 3.10." } - { date: "05.05.19:", desc: "Rebase to alpine 3.9, use new armv7 image format." } diff --git a/root/defaults/default b/root/defaults/default index d948938..197dc19 100644 --- a/root/defaults/default +++ b/root/defaults/default @@ -18,11 +18,10 @@ server { location ~ \.php$ { fastcgi_split_path_info ^(.+\.php)(/.+)$; - # With php7-cgi alone: fastcgi_pass 127.0.0.1:9000; - # With php7-fpm: - #fastcgi_pass unix:/var/run/php7-fpm.sock; fastcgi_index index.php; + fastcgi_read_timeout 1800; + fastcgi_send_timeout 1800; include /etc/nginx/fastcgi_params; }