From 8e5d2a0529c1ec8348c130dfc4f65d795e29319a Mon Sep 17 00:00:00 2001 From: "Kevin Veen-Birkenbach [aka. Frantz]" Date: Sat, 29 Jan 2022 16:39:23 +0100 Subject: [PATCH] removed buffering --- roles/docker-nextcloud/README.md | 9 +++++++-- roles/docker-nextcloud/templates/nginx.conf.j2 | 1 + 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/roles/docker-nextcloud/README.md b/roles/docker-nextcloud/README.md index 0fec0490..59e134b3 100644 --- a/roles/docker-nextcloud/README.md +++ b/roles/docker-nextcloud/README.md @@ -81,12 +81,17 @@ Until NC24 MariaDB version has to be used. ## performance ### 504 Gateway Timeout -- https://serverfault.com/questions/178671/nginx-php-fpm-504-gateway-time-out-error-with-almost-zero-load-on-a-test-se -- https://help.nextcloud.com/t/solved-manual-lemp-install-php-fpm-timing-out/39070 + +```bash + docker logs nextcloud_web_1 --tail 1000 | grep 504 +``` #### See +- https://support.f5.com/csp/article/K48373902 - https://github.com/nextcloud/server/issues/25436 - https://help.nextcloud.com/t/update-to-next-cloud-21-0-2-has-get-an-error/117028/23?page=2 +- https://serverfault.com/questions/178671/nginx-php-fpm-504-gateway-time-out-error-with-almost-zero-load-on-a-test-se +- https://help.nextcloud.com/t/solved-manual-lemp-install-php-fpm-timing-out/39070 ## further information - https://github.com/nextcloud/docker/blob/master/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/docker-compose.yml diff --git a/roles/docker-nextcloud/templates/nginx.conf.j2 b/roles/docker-nextcloud/templates/nginx.conf.j2 index ef2525a9..9fbea656 100644 --- a/roles/docker-nextcloud/templates/nginx.conf.j2 +++ b/roles/docker-nextcloud/templates/nginx.conf.j2 @@ -25,6 +25,7 @@ http { keepalive_timeout 65; fastcgi_send_timeout 600s; fastcgi_read_timeout 600s; + proxy_buffering off; #gzip on;