Skip to content

Commit 713db55

Browse files
authored
Merge pull request #13477 from nextcloud/enh/noid/nginx-root-sample-more-timeouts
Add more timeout configs in the nginx-root-sample file
2 parents 7ac0c27 + 8486c74 commit 713db55

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

admin_manual/installation/nginx-root.conf.sample

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,13 @@ server {
5656
client_body_timeout 300s;
5757
fastcgi_buffers 64 4K;
5858

59+
# Proxy and client response timeouts
60+
# Uncomment an increase these if facing timeout errors during large file uploads
61+
#proxy_connect_timeout 60s;
62+
#proxy_send_timeout 60s;
63+
#proxy_read_timeout 60s;
64+
#send_timeout 60s;
65+
5966
# Enable gzip but do not remove ETag headers
6067
gzip on;
6168
gzip_vary on;

admin_manual/installation/nginx-subdir.conf.sample

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,13 @@ server {
8282
client_body_timeout 300s;
8383
fastcgi_buffers 64 4K;
8484

85+
# Proxy and client response timeouts
86+
# Uncomment an increase these if facing timeout errors during large file uploads
87+
#proxy_connect_timeout 60s;
88+
#proxy_send_timeout 60s;
89+
#proxy_read_timeout 60s;
90+
#send_timeout 60s;
91+
8592
# Enable gzip but do not remove ETag headers
8693
gzip on;
8794
gzip_vary on;

0 commit comments

Comments
 (0)