diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2016-04-07 19:09:51 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2016-04-07 19:09:51 +0200 |
commit | c90ae1fe9d40a0271844d321a7a54ee219735ccf (patch) | |
tree | 122bf565601c351d92a83c4df1c2ef3988c7cdbf /roles/webmail/files/etc/nginx/sites-available | |
parent | 5ffdd56770a9e17be190b717cccb79165a3cbd88 (diff) |
Roundcube's CSP: allow loading images from data: URIs and arbitrary URLs.
Per user request: https://wiki.fripost.org/tracker/CSP_too_strict/
Diffstat (limited to 'roles/webmail/files/etc/nginx/sites-available')
-rw-r--r-- | roles/webmail/files/etc/nginx/sites-available/roundcube | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/webmail/files/etc/nginx/sites-available/roundcube b/roles/webmail/files/etc/nginx/sites-available/roundcube index fd87252..ca4fcc5 100644 --- a/roles/webmail/files/etc/nginx/sites-available/roundcube +++ b/roles/webmail/files/etc/nginx/sites-available/roundcube @@ -28,7 +28,7 @@ server { include snippets/headers.conf; add_header Content-Security-Policy - "default-src 'none'; child-src 'self'; frame-src 'self'; connect-src 'self'; object-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; 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 'self'; form-action 'self'; base-uri mail.fripost.org webmail.fripost.org"; + "default-src 'none'; child-src 'self'; frame-src 'self'; connect-src 'self'; object-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; img-src * data:; font-src 'self'; upgrade-insecure-requests; block-all-mixed-content; reflected-xss block; referrer no-referrer-when-downgrade; frame-ancestors 'self'; form-action 'self'; base-uri mail.fripost.org webmail.fripost.org"; include snippets/ssl.conf; ssl_certificate /etc/nginx/ssl/mail.fripost.org.pem; |