Deactivated content security policy for tracking

This commit is contained in:
Kevin Veen-Birkenbach 2023-11-24 09:07:20 +01:00
parent dc11daf43d
commit 747614af64

View File

@ -1,6 +1,5 @@
# 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}};";
# Deactivate CSP header
more_set_headers "Content-Security-Policy: ";
# sub filters to integrate matomo tracking code in nginx websites
sub_filter '</head>' '<script>{{matomo_tracking_code_one_liner}}</script></head>';