Update nginx-root.conf.sample

This commit is contained in:
John Molakvoæ 2022-02-24 09:18:28 +01:00 committed by GitHub
parent 1a4e439bc4
commit 9fb50bac7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -137,7 +137,7 @@ server {
fastcgi_max_temp_file_size 0;
}
location ~ \.(?:css|js|svg|gif)$ {
location ~ \.(?:css|js|svg|gif|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