Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

difference in nginx template and docker template #344

Open
JanMalte opened this issue Jan 9, 2024 · 0 comments
Open

difference in nginx template and docker template #344

JanMalte opened this issue Jan 9, 2024 · 0 comments

Comments

@JanMalte
Copy link

JanMalte commented Jan 9, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant