Skip to content

Commit 2767c42

Browse files
Improve matomo protection, see matomo-org/matomo-nginx#84
1 parent eed2539 commit 2767c42

File tree

1 file changed

+1
-1
lines changed
  • roles/matomo/templates/nginx/sites-available

1 file changed

+1
-1
lines changed

roles/matomo/templates/nginx/sites-available/matomo.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ server {
5353
{% endif %}
5454

5555
## disable all access to the following directories
56-
location ~ ^/(config|tmp|core|lang) {
56+
location ~ ^/(console|config|tmp|core|lang) {
5757
deny all;
5858
return 403; # replace with 404 to not show these directories exist
5959
}

0 commit comments

Comments
 (0)