r/nextcloud: Increase Apache timeout

Uploading large files can take a very long time.  If the process takes
longer than the configured timeout in Apache, it will be aborted and the
client will receive an HTTP 504 Gateway Timeout error.  Increasing the
timeout will help alleviate this for files up to a certain size.
Notably, it now lets me upload Signal backups without errors.
ntfy
Dustin 2021-12-22 11:28:52 -06:00
parent 6acb25e309
commit dfa61c8a73
1 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,8 @@ RewriteRule /.* https://%{SERVER_NAME}$0
Header always set \ Header always set \
Strict-Transport-Security "max-age=63072000; includeSubDomains" Strict-Transport-Security "max-age=63072000; includeSubDomains"
Timeout 600
DocumentRoot /usr/share/nextcloud DocumentRoot /usr/share/nextcloud
<Directory /usr/share/nextcloud> <Directory /usr/share/nextcloud>
Require all granted Require all granted