* resolves: https://github.com/nextcloud/documentation/issues/9574
Some clients like DAVx5 use chunked transfer encoding.
PHP-FPM does not support this[1] because it requires to comply with the
CGI standard - 20+ years old - which enforces a Content-Length header.
So we need to buffer the whole request until passing it to PHP-FPM.
Without this 0-byte files would be created on Nextcloud as PHP-FPM will
not only set content-length to 0 but also does not pass the body data
stream.
[1] https://bugs.php.net/bug.php?id=51191 and https://github.com/php/php-src/pull/7509
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
When uploading large files, a 504 error occurs in the Nextcloud client: "It’s taking too long to connect to the server. Please try again later. If you need help, contact your server administrator. Add the appropriate directives to prevent this error.
Signed-off-by: as598466 <124391092+as598466@users.noreply.github.com>
Signed-off-by: Simon L. <szaimen@e.mail.de>
Co-Authored-By: Simon L. <szaimen@e.mail.de>
It was removed from the config in #9188, but forgotten for the static assets block.
In addition, the date added with #12100 was is added to the subdir config as well, for consistency.
Signed-off-by: MichaIng <micha@dietpi.com>
Configuration updated based on OpenBSD 7.7 setup.
- PHP 8.2 for current 7.7 installation
- Rewriting of httpd.conf to follow configuration tips from: https://github.com/nixbitcoin/OpenBSD-Nextcloud/blob/master/README.md
The current httpd configuration will not load the interface properly for Nextcloud 30.0.10 installed via pkg_add, adapting it with nixbitcoin's configuration leads it to load the interface properly and show various components to the user.
Signed-off-by: Giorgio Caculli <40541342+GiorgioCaculli@users.noreply.github.com>
To be in compliance with RFC6797 and https://hstspreload.org/, line 31 about the Strict-Transport-Security (HSTS) Header should have a minimum max-age of 31536000 seconds, and not have a ";" symbol at the end.
Use `sudo -E -u www-data php occ` everywhere.
Motivation: this should work on more appliances like also inside docker containers.
Signed-off-by: Simon L. <szaimen@e.mail.de>
beautify format and context, add installation procedure for first start, correct grammar, add links in correct format
Signed-off-by: scubamuc <54933878+scubamuc@users.noreply.github.com>
update information from Nextcloud snap documentation including description and links for clearer understanding
Signed-off-by: scubamuc <54933878+scubamuc@users.noreply.github.com>
The sodium extension is only needed for argon2, iff:
- PHP is < 8.4 and built without libargon2
With PHP < 8.4 you can also enable argon2 without sodium by compiling
with libargon2 support.
With PHP 8.4 the argon2 support is included in php-openssl which is
already a hard requirement of Nextcloud.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
- `bcmath` is not needed anymore.
- `gmp` is not required but recommended now for WebAuthn.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Alpine Linux is a well maintained distro, which features a lightweight
environment, and good choice for LNMP.
Add Alpine Linux to system requirements.
Signed-off-by: Raymond Hackley <wonderfulShrineMaidenOfParadise@postmarketos.org>