admin_manual/installation/nginx: Added tip for allowing uploads while blocking dot files

Signed-off-by: Felix Stupp <felix.stupp@outlook.com>
This commit is contained in:
Felix Stupp
2019-12-16 00:42:32 +01:00
parent 3072562fa3
commit cb29d8155f

View File

@@ -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. <https://www.nginx.com/resources/wiki/start/topics/examples/full/>`_
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 <https://github.com/nextcloud/server/issues/8802>` for more information.
Login loop without any clue in access.log, error.log, nor nextcloud.log
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^