mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Merge pull request #3460 from cwivagg/patch-3
Update matomo-nginx.conf.j2 ["fix the error private directories are accessible"]
This commit is contained in:
commit
64226e5a6e
1 changed files with 2 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
|||
location ~ ^/matomo/(config|tmp|core|lang) { deny all; return 403; }
|
||||
|
||||
location ~ ^/matomo(.*)\.php(.*)$ {
|
||||
alias /library/www/matomo$1.php$2; # /library/www/matomo
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
|
|
Loading…
Add table
Reference in a new issue