Update nginx-subdir.conf.sample

This commit is contained in:
John Molakvoæ 2022-02-24 09:09:28 +01:00 committed by backportbot[bot]
parent 8c80fd772a
commit ebe1b4f0d8

View File

@ -137,7 +137,7 @@ server {
fastcgi_max_temp_file_size 0;
}
location ~ \.(?:css|js|svg|gif|png|jpg|ico|wasm|tflite)$ {
location ~ \.(?:css|js|svg|gif|png|jpg|ico|wasm|tflite|map)$ {
try_files $uri /nextcloud/index.php$request_uri;
expires 6M; # Cache-Control policy borrowed from `.htaccess`
access_log off; # Optional: Don't log access to assets