Merge pull request #9897 from Budibase/fix/csp-media-src

Add budi cdn to CSP media-src directive
This commit is contained in:
Martin McKeaveney 2023-03-07 15:42:53 +00:00 committed by GitHub
commit 065c466eeb
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ http {
set $csp_frame "frame-src 'self' https:"; set $csp_frame "frame-src 'self' https:";
set $csp_img "img-src http: https: data: blob:"; set $csp_img "img-src http: https: data: blob:";
set $csp_manifest "manifest-src 'self'"; set $csp_manifest "manifest-src 'self'";
set $csp_media "media-src 'self' https://js.intercomcdn.com"; set $csp_media "media-src 'self' https://js.intercomcdn.com https://cdn.budi.live";
set $csp_worker "worker-src 'none'"; set $csp_worker "worker-src 'none'";
error_page 502 503 504 /error.html; error_page 502 503 504 /error.html;