aboutsummaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
Diffstat (limited to 'content')
-rw-r--r--content/articles/site-backend.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/content/articles/site-backend.md b/content/articles/site-backend.md
index ca36b2d..673c20d 100644
--- a/content/articles/site-backend.md
+++ b/content/articles/site-backend.md
@@ -297,6 +297,12 @@ redirects removed:
Header set Cache-Control "max-age=31536000, public"
</FilesMatch>
+ # allow style-src-attr unsafe-inline for svgs
+ # (without this svgs do not render in firefox)
+ <FilesMatch "\.svg$">
+ Header set "Content-Security-Policy" "default-src 'self'; img-src 'self'; style-src-attr 'self' 'unsafe-inline'"
+ </FilesMatch>
+
# expose webhook
<Location /hooks/>
ProxyPass "http://localhost:9000/"