diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2020-05-22 19:13:13 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2020-05-22 19:13:13 +0200 |
commit | 4797826cd2d7b64bf1d2c29c22a09f960ddbac30 (patch) | |
tree | 6addb1118b40f89ad0c3434c681532084a418e6e /roles/wiki/files/etc/nginx/sites-available/website | |
parent | c340c10fda7bfde62945be51643e529a238791fa (diff) |
Wiki: Content-Security-Policy: Add data: to img-src.
This is needed for BS4's navbar-toggler-icon which uses an SVG
background-image.
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 69d3337..4aeb3db 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' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self'; font-src 'self'; frame-ancestors 'none'; form-action https://www.paypal.com/; base-uri fripost.org www.fripost.org"; + "default-src 'none'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; font-src 'self'; frame-ancestors 'none'; form-action https://www.paypal.com/; base-uri fripost.org www.fripost.org"; include snippets/ssl.conf; ssl_certificate ssl/www.fripost.org.pem; |