Closed mritzmann closed 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.
Oh, you're right.
No problem. It took me quite some time to get to this combination of location groups.
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!
The following requests no longer work if the plugin directory is blocked:
/plugins/Morpheus/images/logo.svg?matomo
/plugins/CoreHome/angularjs/notification/notification.directive.html
/plugins/CoreHome/angularjs/quick-access/quick-access.directive.html
/plugins/Morpheus/fonts/matomo.woff2
I don't think it's possible to block the plugin directory.