Update nginx-root.conf.sample

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

View File

@ -138,7 +138,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 /index.php$request_uri;
expires 6M; # Cache-Control policy borrowed from `.htaccess`
access_log off; # Optional: Don't log access to assets