Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
Description
Today, we support one "wildcard" mechanism, which is a catch-all:
map / http://www.example.com/
This is somewhat useful, but typically people end up using it together with e.g. the regex-remap plugin to make it usable. I think a couple of small additions would make it much better
1. Allow for wildcard by scheme (e.g. map http:/// and map https:///)
2. Allow for wildcards to restrict to port (e.g. map http:///:8080)
There is the "regex_map" that can maybe accomplish this, but it feels like if we are supposed to have wildcards.