it should be great if we could use wildcard to define virtual host.
I presume it is technically quite easy to implement. but we need to decide whether we'll it's simple wildcard or a full regex, e.g.
- only support wildcard at the beginning and end, when * is detected, if it's in the first character, then use startsWith and endsWith to match, or
- it's even better if any regex character is detected, including +,*,?,
, then treat the string as regex to match
the relevant discuss as as follow: