Skip to content

Commit

Permalink
fixed content-security-policy for sandbox
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Jaeckle <thomas.jaeckle@bosch.io>
  • Loading branch information
thjaeckle committed Dec 7, 2022
1 parent 18c37ed commit 1eec8a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deployment/docker/sandbox/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ http {

# security relevant headers:
add_header Strict-Transport-Security "max-age=63072000; includeSubdomains;";
add_header Content-Security-Policy "default-src 'self'; script-src 'self' cdnjs.cloudflare.com;" always;
add_header Content-Security-Policy "default-src 'self' 'unsafe-inline' 'unsafe-eval'; script-src 'self' 'unsafe-inline' 'unsafe-eval' cdnjs.cloudflare.com;" always;
expires 1y;
add_header Cache-Control "public, no-transform";
add_header X-Content-Type-Options nosniff;
Expand Down

0 comments on commit 1eec8a9

Please sign in to comment.