From cb29d8155f3652575d5ec415a9984b091947678b Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Mon, 16 Dec 2019 00:42:32 +0100 Subject: [PATCH] admin_manual/installation/nginx: Added tip for allowing uploads while blocking dot files Signed-off-by: Felix Stupp --- admin_manual/installation/nginx.rst | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/admin_manual/installation/nginx.rst b/admin_manual/installation/nginx.rst index c80549cb5..8fddd9967 100644 --- a/admin_manual/installation/nginx.rst +++ b/admin_manual/installation/nginx.rst @@ -396,6 +396,27 @@ or CSS (.css) files via gzip could also cause such issues. Another cause of this issue could be not properly including mimetypes in the http block, as shown `here. `_ +Upload of files greater than 10 MiB fails +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +If you configure nginx (globally) to block all requests to (hidden) dot files, +it may be not possible to upload files greater than 10 MiB using the webpage +due to Nextclouds requirement to upload the file to an url ending with ``/.file``. + +You may require to change: + +.. code-block:: nginx + + location ~ /\. { + +to the following to re-allow file uploads: + +.. code-block:: nginx + + location ~ /\.(?!file).* { + +See `issue #8802 on nextcloud/server ` for more information. + Login loop without any clue in access.log, error.log, nor nextcloud.log ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^