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>
The Nextcloud application requires access to the Authorization header for device enrollment.
Without forwarding the Authorization header to php-fpm from Apache, all device enrollment will fail with the auth flow v2.
Single Nextcloud instances have shown to use less than 2 MiB of the configured JIT buffer size, so that 8 MiB is sufficient by a large margin. Using any larger value pre-occupies the `opcache.memory_consumption` accurdingly and 128 MiB would hence fill its default 128 MiB completely, without any benefit.
The example JIT size is hence reduced to 8 MiB. Enabling JIT however has shown to raise overall OPcache usage by a larger amount than the configured JIT size, so that `opcache.memory_consumption` might still need to be raised in some cases. This information is added to the documentation: https://github.com/nextcloud/all-in-one/issues/2755#issuecomment-1591848523
Additionally, the info is added that JIT is currently supported on x86 platforms only.
Signed-off-by: MichaIng <micha@dietpi.com>
After https://github.com/nextcloud/server/pull/46151, Nextcloud does not require `apc.enable_cli` to be enabled anymore, but will fallback to the dummy NullCache instead for CLI calls. All mentions of this PHP configuration option are hence removed.
Additionally, one left mention of `opcache.enable_cli` is removed, which was never required.
Signed-off-by: MichaIng <micha@dietpi.com>
Nextcloud won't log failed login attempts in log levels > 2.
Added this to the documentation, and, while at it, improved the fail2ban guide in a few other places.
Fixes#12327.
Signed-off-by: tgoeg <39340276+tgoeg@users.noreply.github.com>