diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2016-05-22 17:43:07 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2016-05-22 17:54:10 +0200 |
commit | d77df990152817c497660712f32ca88abaa9e60a (patch) | |
tree | 404f9ee22e8387f52e0c5507f007a548b1926cda /roles/wiki/files/etc/nginx/sites-available/website | |
parent | c3adab74406a434f8d6bb23c15b76c8f9f493442 (diff) |
wiki.fripost.org CSP: allow inline styles/scripts, and form actions to Paypal.
Diffstat (limited to 'roles/wiki/files/etc/nginx/sites-available/website')
-rw-r--r-- | roles/wiki/files/etc/nginx/sites-available/website | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/wiki/files/etc/nginx/sites-available/website b/roles/wiki/files/etc/nginx/sites-available/website index 2c07b1a..10e127c 100644 --- a/roles/wiki/files/etc/nginx/sites-available/website +++ b/roles/wiki/files/etc/nginx/sites-available/website @@ -28,7 +28,7 @@ server { include snippets/headers.conf; add_header Content-Security-Policy - "default-src 'none'; script-src 'self'; style-src 'self'; img-src 'self'; font-src 'self'; upgrade-insecure-requests; block-all-mixed-content; reflected-xss block; referrer no-referrer-when-downgrade; frame-ancestors 'none'; form-action 'none'; base-uri fripost.org www.fripost.org"; + "default-src 'none'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self'; font-src 'self'; upgrade-insecure-requests; block-all-mixed-content; reflected-xss block; referrer no-referrer-when-downgrade; frame-ancestors 'none'; form-action https://www.paypal.com/; base-uri fripost.org www.fripost.org"; include snippets/ssl.conf; ssl_certificate /etc/nginx/ssl/www.fripost.org.pem; |