当你的的 nginx 中设置 Content-Security-Policy,就有可能会遇到: script in the following Content Security Policy directive: "script-src * 'unsafe-inline'"
Content-Security-Policy 策略
最快的解决办法,注释掉 Content-Security-Policy,并重启 nginx
vim xxx.conf
../../sbin/nginx -s reload