Skip to content

Commit 01737b5

Browse files
authored
Cache images on browser
Following nextcloud/server#27835
1 parent f08ed6c commit 01737b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

admin_manual/installation/nginx-root.conf.sample

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ server {
132132
fastcgi_request_buffering off;
133133
}
134134

135-
location ~ \.(?:css|js|svg|gif)$ {
135+
location ~ \.(?:css|js|svg|gif|png|jpg|ico)$ {
136136
try_files $uri /index.php$request_uri;
137137
expires 6M; # Cache-Control policy borrowed from `.htaccess`
138138
access_log off; # Optional: Don't log access to assets

0 commit comments

Comments
 (0)