check env prod|stage|dev on wildcard match.
possible to load main config on wildcard match.