Move the `root` directive more to the top. That way all the
fields that need to be changed are in one place.
Signed-off-by: Christian Tacke <8560110+ChristianTacke@users.noreply.github.com>
Remove the settings block which matches PHP defaults anyway. The Nextcloud admin panel will now show warnings based on actual OPcache usage, when any limit is closely reached: https://github.com/nextcloud/server/pull/27403
Add info about how to enhance performance by reducing or disabling OPcache revalidation.
Remove link to outdated blog post, which contains no additional helpful information and the invalid "opcache.fast_shutdown" setting which was removed with PHP7.2 already. Instead, add a link to "opcache-gui", a web interface to monitor and control the OPcache.
Signed-off-by: MichaIng <micha@dietpi.com>
Since Talk 13 (and thus Nextcloud 23) WebAssembly (.wasm) and TensorFlow
Lite (.tflite) files need to be loaded from the web server to provide
certain features (like the background blur in the WebUI).
Those files can be treated in a similar way to other static resources,
and there should not be any problem caching or compressing them.
However, as compressed TensorFlow Lite files are only ~12% smaller,
the compression directive depends on the MIME type and there is no
standard MIME type for TensorFlow Lite files, for now only WebAssembly
files are compressed.
Depending on the setup "application/wasm" may not be associated with
".wasm" files, so the directive was added just in case, as the
compression is enabled through the MIME type and, besides that, the
browsers log a warning if the expected MIME type is not returned.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Access tokens are sensitive key materials and shouldn't be stored, especially not on backup systems that also store the Nextcloud database and configuration backup.
- Change all `.. figure::` elements to `.. image::`
- Add empty `:alt:` so it is clear to screen readers that the images are decorative and don’t duplicate content
- Update styleguide with that info
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
- Follow the .htaccess and exclude .well-known redirects for ACME challenges and PKI validation, which are not handled by Nextcloud, and handle requests for `/remote`
- Preserve the query string when redirecting .well-known URIs.
- Separate the example config files from nginx.rst
Signed-off-by: MichaIng <micha@dietpi.com>