Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
It's common to want remap rules that are only supposed to be used by plugins. Add explicit support for ACL matching on whether a request is internal or not.
Here's an example of the proposed configuration:
map http://internal.jpeach.org/ http://127.0.0.1/ \ @plugin=generator.so \ @action=allow @internal map http://external.jpeach.org/ http://private.jpeach.org/ \ @plugin=authproxy.so @pparam=--auth-transform=head \ @action=deny @internal map http://private.jpeach.org/ http://private.jpeach.org/ \ @action=allow @internal