I am experimenting with using Varnish as a proxy to inject some HTML into pages from specific domains.
So if any page is coming from *.organisation.edu.au, force a snippet of html immediately after the body tag. For extra points, if the system was smart enough to detect that the html was already present and NOT include the snippet, that would be totes awesome.
I am working through the varnish docs, but any help or pointers would be greatly appreciated.
Open to other suggestions for handling this requirement as well.