Skip to content

Commit

Permalink
csp whitelist S3 in terraform
Browse files Browse the repository at this point in the history
  • Loading branch information
Gregor Weber committed Sep 6, 2018
1 parent 13e8150 commit 156ee03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nubis/puppet/web.pp
Expand Up @@ -89,7 +89,7 @@
'set X-Frame-Options "DENY"',
'set Strict-Transport-Security "max-age=31536000"',
# media-src blob: is required for recording audio.
'set Content-Security-Policy "default-src \'none\'; style-src \'self\' \'unsafe-inline\' https://fonts.googleapis.com https://optimize.google.com; img-src \'self\' www.google-analytics.com www.gstatic.com https://optimize.google.com https://www.gstatic.com; media-src data: blob: https://*.amazonaws.com https://*.amazon.com; script-src \'self\' \'sha256-a3JWJigb4heryKXgeCs/ZhQEaNkHypiyApGw7hQMdTA=\' \'sha256-CwRubg9crsF8jHlnzlIggcJhxGbh5OW22+liQqQNE18=\' \'sha256-KkfRSrCB8bso9HIC5wm/5cCYUmNSRWNQqyPbvopRCz4=\' https://www.google-analytics.com https://pontoon.mozilla.org https://optimize.google.com; font-src \'self\' https://fonts.gstatic.com; connect-src \'self\' https://pontoon.mozilla.org/graphql https://www.gstatic.com https://www.google-analytics.com; frame-src https://optimize.google.com;"'
'set Content-Security-Policy "default-src \'none\'; style-src \'self\' \'unsafe-inline\' https://fonts.googleapis.com https://optimize.google.com; img-src \'self\' www.google-analytics.com www.gstatic.com https://optimize.google.com https://www.gstatic.com; media-src data: blob: https://*.amazonaws.com https://*.amazon.com; script-src \'self\' \'sha256-a3JWJigb4heryKXgeCs/ZhQEaNkHypiyApGw7hQMdTA=\' \'sha256-CwRubg9crsF8jHlnzlIggcJhxGbh5OW22+liQqQNE18=\' \'sha256-KkfRSrCB8bso9HIC5wm/5cCYUmNSRWNQqyPbvopRCz4=\' https://www.google-analytics.com https://pontoon.mozilla.org https://optimize.google.com; font-src \'self\' https://fonts.gstatic.com; connect-src \'self\' https://pontoon.mozilla.org/graphql https://www.gstatic.com https://www.google-analytics.com https://*.amazonaws.com; frame-src https://optimize.google.com;"'
],
rewrites => [
{
Expand Down

0 comments on commit 156ee03

Please sign in to comment.