Skip to content

Commit

Permalink
Merge pull request #2767 from ONSdigital/update-csp-for-tag-manager
Browse files Browse the repository at this point in the history
updated csp for tag manager
  • Loading branch information
martyncolmer authored Oct 5, 2022
2 parents 65f4a99 + 2498147 commit 24f0592
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eq-author/nginx/sites-enabled/eq-author
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ add_header Cache-Control no-store;
add_header Clear-Site-Data "cache, cookies, storage";
add_header Pragma no-cache;
add_header Permissions-Policy "geolocation=(),midi=(),sync-xhr=(),microphone=(),camera=(),magnetometer=(),gyroscope=(),fullscreen=(self),payment=()";
add_header Content-Security-Policy "default-src 'self'; connect-src *; object-src 'none'; child-src 'self'; frame-ancestors 'none'; upgrade-insecure-requests; block-all-mixed-content; base-uri 'self'; font-src https://fonts.gstatic.com; img-src 'self' http://cdn.jsdelivr.net/npm/@apollographql/; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://www.googleapis.com/identitytoolkit/v3 http://cdn.jsdelivr.net/npm/@apollographql/; style-src 'self' 'unsafe-inline' 'unsafe-eval' http://cdn.jsdelivr.net/npm/@apollographql/ https://fonts.googleapis.com;";
add_header Content-Security-Policy "default-src 'self'; connect-src * https://www.google-analytics.com; object-src 'none'; child-src 'self'; frame-ancestors 'none'; upgrade-insecure-requests; block-all-mixed-content; base-uri 'self'; font-src https://fonts.gstatic.com; img-src 'self' https://www.google-analytics.com www.googletagmanager.com http://cdn.jsdelivr.net/npm/@apollographql/; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://www.google-analytics.com https://www.googletagmanager.com https://ssl.google-analytics.com https://www.googleapis.com/identitytoolkit/v3 http://cdn.jsdelivr.net/npm/@apollographql/; style-src 'self' 'unsafe-inline' 'unsafe-eval' http://cdn.jsdelivr.net/npm/@apollographql/ https://fonts.googleapis.com;";

server {
listen 3000;
Expand Down

0 comments on commit 24f0592

Please sign in to comment.