mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Update matomo-nginx.conf.j2
Fix security problems noted in https://github.com/iiab/iiab/issues/3441.
This commit is contained in:
parent
616efbed60
commit
08ade5cd1e
1 changed files with 1 additions and 0 deletions
|
@ -10,6 +10,7 @@ location ~ ^/matomo(.*)\.php(.*)$ {
|
|||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
|
||||
fastcgi_param PATH_INFO $2;
|
||||
location ~ ^/matomo/(config|tmp|core|lang) { deny all; return 403; }
|
||||
}
|
||||
|
||||
location ~ ^/matomo(/)? {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue