Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion sites-available/matomo.conf
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ server {
add_header Cache-Control "public";
}

location ~ ^/(libs|vendor|plugins|misc|node_modules) {
## after allowing assets above, deny the rest of the requests for these subdirs
location ~ ^/(libs|vendor|plugins|misc|node_modules|tests) {
deny all;
return 403;
}
Expand Down