0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-06-16 16:14:47 +02:00

Update nginx.conf

nginx times out when sign up is done with the message "504 Gateway Timeout". This happens for the ssl one as well. I found that increasing the fastcgi timeout overcomes this issue.
This commit is contained in:
Cristian Bourceanu 2020-10-08 06:52:02 +01:00 committed by GitHub
parent d8e5ac1062
commit 143539811a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -124,6 +124,10 @@ http {
fastcgi_pass php-handler; fastcgi_pass php-handler;
fastcgi_intercept_errors on; fastcgi_intercept_errors on;
fastcgi_request_buffering off; fastcgi_request_buffering off;
# Prevent 504 gateway timeout
fastcgi_send_timeout 200;
fastcgi_read_timeout 200;
} }
location ~ ^\/(?:updater|oc[ms]-provider)(?:$|\/) { location ~ ^\/(?:updater|oc[ms]-provider)(?:$|\/) {