mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-09 22:41:03 +01:00
Deactivated content security policy for tracking
This commit is contained in:
parent
9d63fe69e1
commit
973c05b333
@ -1,6 +1,5 @@
|
|||||||
# Add CSP header
|
# Deactivate 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}};";
|
more_set_headers "Content-Security-Policy: ";
|
||||||
|
|
||||||
|
|
||||||
# sub filters to integrate matomo tracking code in nginx websites
|
# sub filters to integrate matomo tracking code in nginx websites
|
||||||
sub_filter '</head>' '<script>{{matomo_tracking_code_one_liner}}</script></head>';
|
sub_filter '</head>' '<script>{{matomo_tracking_code_one_liner}}</script></head>';
|
||||||
|
Loading…
Reference in New Issue
Block a user