mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-02 17:59:36 +07:00
Merge pull request #1748 from Zocker1999NET/ext/nginx_dot_files_upload_fix
admin_manual/installation/nginx: Added tip for allowing uploads while blocking dot files
This commit is contained in:
@@ -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
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
||||
Reference in New Issue
Block a user