I have a domain that has three different subdomains (the naming convention is sub-environment.domain.com
). I want to add them to the Content Security Policy, but was wondering if I can use a wildcard like this:
sub-prod.domain.com
sub-stage.domain.com
sub-demo.domain.com
Would it be possible to specify sub-*.domain.com
in my CSP to cover all three subdomains?