Content Security Policy

April 29, 2021
·
1 min read
·
loading...
YUNU7067
@YUNU7067 We choose to go to the Moon;

문제점

에러 메시지
에러 메시지
Content Security Policy : 페이지 설정에 의해 리소스 로드가 차단됨: blob:https://example.com (“script-src”)

해결방안

nginx 설정파일에서 Content Security Policy 정책을 사용하는 경우, blob 리소스가 차단될 수 있다. 이러한 경우 Content-Security-Policy 맨 뒤에 worker-src blob:을 추가해주면 된다.

nginx config에 추가
nginx config에 추가