Cache images on browser

Following https://github.com/nextcloud/server/pull/27835
This commit is contained in:
acsfer
2021-07-07 19:06:39 +02:00
committed by GitHub
parent f08ed6c02e
commit 01737b5811

View File

@@ -132,7 +132,7 @@ server {
fastcgi_request_buffering off;
}
location ~ \.(?:css|js|svg|gif)$ {
location ~ \.(?:css|js|svg|gif|png|jpg|ico)$ {
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