mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-25 22:21:04 +01:00
Added fastcgi_send_timeout and fastcgi_read_timeout to prevent 504 error
This commit is contained in:
parent
4bee6726e7
commit
4b88666091
@ -79,6 +79,11 @@ To use occ run:
|
||||
### Maria DB
|
||||
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
|
||||
|
||||
#### See
|
||||
- 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
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
- name: configure nginx.conf
|
||||
template: src=templates/nginx.conf.j2 dest=/home/administrator/volumes/docker/nextcloud/nginx.conf
|
||||
notify: restart nginx
|
||||
notify: recreate nextcloud
|
||||
|
||||
- name: "create /home/administrator/docker-compose/nextcloud/"
|
||||
file:
|
||||
|
@ -22,7 +22,9 @@ http {
|
||||
sendfile on;
|
||||
#tcp_nopush on;
|
||||
|
||||
keepalive_timeout 65;
|
||||
keepalive_timeout 65;
|
||||
fastcgi_send_timeout 600s;
|
||||
fastcgi_read_timeout 600s;
|
||||
|
||||
#gzip on;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user