Optimized more CSP policies

This commit is contained in:
2025-05-15 11:00:13 +02:00
parent 6b7314baac
commit 1031b61f6a
4 changed files with 12 additions and 3 deletions

View File

@@ -5,6 +5,11 @@ csp:
flags:
style-src:
unsafe-inline: true
script-src:
unsafe-inline: true
whitelist:
font-src:
- data:
oidc:
enabled: "{{ applications.nextcloud.features.oidc | default(true) }}" # Activate OIDC for Nextcloud
# floavor decides which OICD plugin should be used.

View File

@@ -17,5 +17,5 @@ csp:
frame-src:
- "{{ web_protocol }}://*.{{primary_domain}}"
flags:
style-src-elem:
style-src:
unsafe-inline: true

View File

@@ -21,4 +21,7 @@ csp:
style-src:
unsafe-inline: true
script-src:
unsafe-inline: true
unsafe-inline: true
whitelist:
worker-src:
- blob: