Caddyfile: update CSP

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2020-07-17 19:24:50 +05:30
parent b0f8b250b5
commit f821f9e8f3
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@
img-src 'self' data: gfycat.com imgur.com *.imgur.com commento.msfjarvis.dev;
object-src 'none';
script-src 'self' commento.msfjarvis.dev unpkg.com;
style-src 'self' commento.msfjarvis.dev stackpath.bootstrapcdn.com;
style-src 'self' commento.msfjarvis.dev 'unsafe-inline';
"
# Security related changes stolen from https://github.com/searx/searx-docker/blob/master/Caddyfile
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"