mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-01 08:08:59 +02:00
Replaced nginx native with openresty for logout injection. Right now still buggy on nextcloud and espocrm
This commit is contained in:
5
roles/srv-web-7-7-inj-matomo/templates/body_sub.j2
Normal file
5
roles/srv-web-7-7-inj-matomo/templates/body_sub.j2
Normal file
@@ -0,0 +1,5 @@
|
||||
<noscript>
|
||||
<p>
|
||||
<img src="//{{ domains | get_domain('web-app-matomo') }}/matomo.php?idsite={{matomo_site_id}}&rec=1" style="border:0;" alt="" />
|
||||
</p>
|
||||
</noscript>
|
@@ -1,2 +0,0 @@
|
||||
# sub filters to integrate matomo tracking code in nginx websites
|
||||
sub_filter '</body>' '<noscript><p><img src="//{{ domains | get_domain('web-app-matomo') }}/matomo.php?idsite={{matomo_site_id}}&rec=1" style="border:0;" alt="" /></p></noscript></body>';
|
Reference in New Issue
Block a user