Sometimes it is useful to use policies with nonces. It might be possible to create such nonces with Nginx: https://scotthelme.co.uk/csp-nonce-support-in-nginx/