Files
computer-playbook/roles/sys-front-inj-all
Kevin Veen-Birkenbach 97af4990aa refactor(webserver): rename roles and update references
- Rename sys-svc-webserver -> sys-svc-webserver-core
- Rename sys-stk-front-pure -> sys-svc-webserver-https
- Update includes, run_once flags, and docs across:
  * sys-ctl-mtn-cert-renew
  * sys-front-inj-*
  * sys-stk-front-proxy
  * sys-svc-certs
  * sys-svc-cln-domains
  * web-opt-rdr-*
  * web-svc-*
- Remove redundant webserver include in web-opt-rdr-www
- Fix documentation links

Ref: ChatGPT conversation https://chatgpt.com/share/68d6cea2-3570-800f-acb3-c3277317f17b
2025-09-26 19:34:42 +02:00
..

Nginx Global Matomo & Theming Modifier Role 🚀

This role enhances your Nginx configuration by conditionally injecting global Matomo tracking and theming elements into your HTML responses. It uses Nginx sub-filters to seamlessly add tracking scripts and CSS links to your web pages.


Features

  • Global Matomo Tracking
    The role includes Matomo tracking configuration and injects the corresponding tracking script into your HTML.

  • Global Theming
    The role injects a global CSS link for consistent theming across your site.

  • Smart Injection
    Uses Nginx's sub_filter to insert the tracking and theming snippets right before the closing </head> tag of your HTML documents.

This will automatically activate Matomo tracking and/or global theming based on your configuration.


Author

Developed by Kevin Veen-Birkenbach 😎


Happy automating! 🎉