Header, footer....add cide

Aside the real geeks who knows how to modify the source code, it would be nice to create some easy way to add code to index.php
For example, I use scanmyserver.com for securing auditing some of my pro servers. In order to do that, I need to add some “stuff” in the footer of the index.html or .php so their testing tools may work.
If using nextcloud as the primary layer, tweaking index.php for a normal user is out of the scope…