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:
parent
d8e5ac1062
commit
143539811a
1 changed files with 4 additions and 0 deletions
|
@ -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)(?:$|\/) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue