using Website Proxy with Virtualmin, I reckon, that if the Proxy-To-URL fails e.g. because the “real” server is down, also my proxy site will fail, as it won’t be able to pull any data from the original source. Therefore I was wondering:
Is it possible to set up a caching proxy w. Virtualmin, one that actually stores all the pages of the original site on the local proxy w. Virtualmin? Like a mirror, that keeps running, even if the original source is unavailable?
Sure there are different ways of accomplishing this, one might be by using Varnish.
Varnish has a feature which enables you to use a “grace” period.
Varnish sits between the users browser and the server backend. You can create a setup using grace where if the backend is unavailable Varnish serves the content itself. Might be worth checking it out.