matomo-org / docker

Official Docker project for Matomo Analytics

Home Page:https://matomo.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

difference in nginx template and docker template

JanMalte opened this issue · comments

The libs|vendor location directive differes between the nginx template and the docker one:

    location ~ ^/(libs|vendor|plugins|misc|node_modules) {
        deny all;
        return 403;
    }

source: https://github.com/matomo-org/matomo-nginx/blob/5b232af8ec1fd9d033f1c4ab9343f4073df64644/sites-available/matomo.conf#L80C11-L80C11

vs.

        location ~ /(libs|vendor|plugins|misc/user) {
                deny all;
                return 403;
        }

source: https://github.com/matomo-org/docker/blob/7a87e915aae2d55168e90a76aea60f38122e28e5/.examples/nginx/matomo.conf#L58C1-L61C3