title: Wildcard on Nginx Content Security Policy
body: <p>I'm updating an Nginx config file trying to use a wildcard on a Content Security Policy definition.</p>
  <p>I need to allow &quot;https://cdn.rollbar.com/rollbarjs/refs/tags/v2.15.2/rollbar.min.js;&quot; and if I hardcode it everything works fine.</p>
  <p>However, I'd like to use a wildcard so I allow all the versions (and I don't have to update the config when a new version is released and required by the app).</p>
  <p>I have tried something like</p>
  <p><a href="https://cdn.rollbar.com/rollbarjs/refs/tags/*/rollbar.min.js;" rel="nofollow noreferrer">https://cdn.rollbar.com/rollbarjs/refs/tags/*/rollbar.min.js;</a>
  <a href="https://cdn.rollbar.com/rollbarjs/*;" rel="nofollow noreferrer">https://cdn.rollbar.com/rollbarjs/*;</a></p>
  <p>But neither works.</p>
  <p>How can I use a wildcard?</p>