Skip to content

Commit

Permalink
Merge pull request #70 from simpaa/RemoveJsonFromList
Browse files Browse the repository at this point in the history
Remove json files from static file list to serve
  • Loading branch information
Findus23 authored Aug 17, 2022
2 parents 70fff07 + 6ab25dd commit 5b232af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sites-available/matomo.conf
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ server {
add_header Cache-Control 'private, no-cache, no-store';
}

location ~ \.(gif|ico|jpg|png|svg|js|css|htm|html|mp3|mp4|wav|ogg|avi|ttf|eot|woff|woff2|json)$ {
location ~ \.(gif|ico|jpg|png|svg|js|css|htm|html|mp3|mp4|wav|ogg|avi|ttf|eot|woff|woff2)$ {
allow all;
## Cache images,CSS,JS and webfonts for an hour
## Increasing the duration may improve the load-time, but may cause old files to show after an Matomo upgrade
Expand Down

0 comments on commit 5b232af

Please sign in to comment.