I use an Apache2 as proxy for several backend-server. The proxy holds the Let´s-Encrypt-SSL-Certificates for all servers, http-traffic is redirected to https and then proxyed to the http-backend-servers.
Everything is running smoothly, but:
One of the backend-servers hold a Moodle-Installation. Every link points to the http-url, so browsers say, there is insecure content...
How can I manipulate the page-content, that is delivered from the backend via the proxy to the client? I will have to replace every link "http://my.doimain.com/" with "https://my.domain.com/" within the delivered pages...
The traffic between proxy and backend-serer is http, not https. As theses servers have no internet-access they cannot update certificates issued by let´s encrypt...
Thanks in advance wepp