Created by: gagern
It would be nice if one could easily use the module to proxy not just for one target, but for any target the incoming connection requests. I.e. do normal web cache behaviour, not reverse proxying. Here is a setup to do so. Since several examples in the README use {}
as the configuration, i.e. without target
or forward
setting, these examples will currently fail. With my addition, they will work and simply forward the requests.
Perhaps you might want to make people aware that proxying without a fixed target and without a bind restriction to localhost, any incoming request might query pages from the local LAN or even localhost. Depending on configuration, that may or may not be a security issue. If you consider this an issue, write examples in such a way that copying them will work (or fail due to an invented domain name) but will not cause such security problems.