mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-05-18 10:40:33 +02:00
Optimized more CSP policies
This commit is contained in:
parent
6b7314baac
commit
1031b61f6a
@ -91,7 +91,8 @@ class FilterModule(object):
|
||||
'frame-src',
|
||||
'script-src',
|
||||
'style-src',
|
||||
'font-src'
|
||||
'font-src',
|
||||
'worker-src',
|
||||
]
|
||||
parts = []
|
||||
|
||||
|
@ -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.
|
||||
|
@ -17,5 +17,5 @@ csp:
|
||||
frame-src:
|
||||
- "{{ web_protocol }}://*.{{primary_domain}}"
|
||||
flags:
|
||||
style-src-elem:
|
||||
style-src:
|
||||
unsafe-inline: true
|
||||
|
@ -21,4 +21,7 @@ csp:
|
||||
style-src:
|
||||
unsafe-inline: true
|
||||
script-src:
|
||||
unsafe-inline: true
|
||||
unsafe-inline: true
|
||||
whitelist:
|
||||
worker-src:
|
||||
- blob:
|
Loading…
x
Reference in New Issue
Block a user