matomo-org / matomo-nginx

Nginx configuration for running Matomo
408 stars 121 forks source link

matomo doesn't work if the plugin directory is blocked #56

Closed mritzmann closed 5 years ago

mritzmann commented 5 years ago

The following requests no longer work if the plugin directory is blocked:

I don't think it's possible to block the plugin directory.

Findus23 commented 5 years ago

Are you sure you have the config exactly like in the template? For me it is working like this as the section before unblocks html,woff2,etc. and only the rest of the files is blocked in the plugin directory.

mritzmann commented 5 years ago

Oh, you're right.

Findus23 commented 5 years ago

No problem. It took me quite some time to get to this combination of location groups.

mritzmann commented 5 years ago

The reason I overlooked this is because I thought the location was just for caching. Since caching didn't seem so important to me, I left it out.

Thanks for your work, the NGINX examples are awesome!