Commit Graph

8 Commits

Author SHA1 Message Date
John Molakvoæ
13ed139dc4 Update nginx-root.conf.sample 2022-02-24 08:16:07 +00:00
Carl Schwan
1600057df4 Ensure that nginx config sample allow downloading big file
"fastcgi_max_temp_file_size 0;" makes it possible to download file
bigger than 1GB. See https://help.nextcloud.com/t/synchronization-impossible-on-files-larger-than-1gb/66323/2

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-26 12:42:18 +00:00
Daniel Calviño Sánchez
e567246c01 Allow to serve static WebAssembly and TensorFlow Lite files
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>
2021-11-17 13:45:56 +00:00
Daniel
3052f07ddc
Merge pull request #6746 from simonspa/nginx-timeout
nginx: increase client_body_timeout
2021-10-10 11:12:09 +02:00
Christoph Wurst
87fab7a8df
Fix legacy routes like ajax.php on nginx
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-09-24 15:59:54 +02:00
acsfer
01737b5811
Cache images on browser
Following https://github.com/nextcloud/server/pull/27835
2021-07-07 19:06:39 +02:00
simonspa
583321f3a9 Update nginx-root.conf.sample
Signed-off-by: Simon Spannagel <simonspa@kth.se>
2021-06-07 19:02:57 +02:00
MichaIng
9178d3b898
Fix Nginx .well-known redirects (#6221)
- 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>
2021-04-07 23:21:21 +01:00