- πΊπΈUnited States dasginganinja Bethlehem, PA
I'm running into this issue as I'm looking to get off of the Bundled purger.
We've tried to do some unwinding of our
$settings['reverse_proxy_addresses']
but have ran into the issues described above.Is there some sort of way that this "zero config" purger (which appears to be the best out of the bunch due to supporting many invalidation types) can have a settings form or at least be more configurable from a code approach?
I could see the main functionality of the purger coming into another base of sorts and have different methods of instantiation.
For example, if somebody wanted to use the zero config functionality that would be possible, but there could also be a settings form for configuring the instance.I've looked into potentially using PHP Reflection classes to override some site settings in the object to make it work with this functionality but I'd hate to have to maintain something custom on my end that the community would benefit from.
- π«π·France o'briat Nantes
The most elegant way will be a form with a check box to enable or not the auto detection based on reverse proxy. If uncheck, IPs should be input in a text field.