# Add CSP header more_set_headers "Content-Security-Policy: default-src 'self'; img-src 'self' https://matomo.{{top_domain}}; script-src 'self' 'unsafe-inline' https://matomo.{{top_domain}};"; # sub filters to integrate matomo tracking code in nginx websites sub_filter '' ''; sub_filter '' ''; sub_filter_once off;