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',
|
'frame-src',
|
||||||
'script-src',
|
'script-src',
|
||||||
'style-src',
|
'style-src',
|
||||||
'font-src'
|
'font-src',
|
||||||
|
'worker-src',
|
||||||
]
|
]
|
||||||
parts = []
|
parts = []
|
||||||
|
|
||||||
|
@ -5,6 +5,11 @@ csp:
|
|||||||
flags:
|
flags:
|
||||||
style-src:
|
style-src:
|
||||||
unsafe-inline: true
|
unsafe-inline: true
|
||||||
|
script-src:
|
||||||
|
unsafe-inline: true
|
||||||
|
whitelist:
|
||||||
|
font-src:
|
||||||
|
- data:
|
||||||
oidc:
|
oidc:
|
||||||
enabled: "{{ applications.nextcloud.features.oidc | default(true) }}" # Activate OIDC for Nextcloud
|
enabled: "{{ applications.nextcloud.features.oidc | default(true) }}" # Activate OIDC for Nextcloud
|
||||||
# floavor decides which OICD plugin should be used.
|
# floavor decides which OICD plugin should be used.
|
||||||
|
@ -17,5 +17,5 @@ csp:
|
|||||||
frame-src:
|
frame-src:
|
||||||
- "{{ web_protocol }}://*.{{primary_domain}}"
|
- "{{ web_protocol }}://*.{{primary_domain}}"
|
||||||
flags:
|
flags:
|
||||||
style-src-elem:
|
style-src:
|
||||||
unsafe-inline: true
|
unsafe-inline: true
|
||||||
|
@ -21,4 +21,7 @@ csp:
|
|||||||
style-src:
|
style-src:
|
||||||
unsafe-inline: true
|
unsafe-inline: true
|
||||||
script-src:
|
script-src:
|
||||||
unsafe-inline: true
|
unsafe-inline: true
|
||||||
|
whitelist:
|
||||||
|
worker-src:
|
||||||
|
- blob:
|
Loading…
x
Reference in New Issue
Block a user