unsafe-eval error when using count.js
I was trying to integrate comment counts in my blog and found out that my current Content Security Policy is blocking count.js from running.
My current setup is this:
add_header X-Frame-Options "SAMEORIGIN" always; add_header X-XSS-Protection "1; mode=block" always; add_header X-Content-Type-Options "nosniff" always; add_header Referrer-Policy "no-referrer-when-downgrade" always; add_header Content-Security-Policy "default-src 'self' http: https: data: blob: 'unsafe-inline'" always; add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always;
I don't know if this can be solved within count.js or through the nginx add_header settings. Either way, it would be useful to at least include this information in the documentation.