mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-05-18 18:50:32 +02:00
Optimized CSP policies
This commit is contained in:
parent
be0da93c9c
commit
fd698e9cc6
@ -20,12 +20,13 @@ csp:
|
|||||||
flags:
|
flags:
|
||||||
script-src:
|
script-src:
|
||||||
unsafe-inline: true
|
unsafe-inline: true
|
||||||
|
unsafe-eval: true
|
||||||
style-src:
|
style-src:
|
||||||
unsafe-inline: true
|
unsafe-inline: true
|
||||||
whitelist:
|
whitelist:
|
||||||
connect-src:
|
connect-src:
|
||||||
- "{{ domains.element }}"
|
- "{{ primary_domain }}"
|
||||||
- "{{ domains.synapse }}"
|
- "{{ domains.synapse }}"
|
||||||
script-src:
|
script-src:
|
||||||
- "{{ domains.element }}"
|
|
||||||
- "{{ domains.synapse }}"
|
- "{{ domains.synapse }}"
|
||||||
|
- "https://cdn.jsdelivr.net"
|
||||||
|
@ -30,4 +30,8 @@ csp:
|
|||||||
- "data:"
|
- "data:"
|
||||||
script-src:
|
script-src:
|
||||||
- "https://cdn.gtranslate.net"
|
- "https://cdn.gtranslate.net"
|
||||||
- "{{ domains.wordpress }}"
|
- "{{ domains.wordpress[0] }}"
|
||||||
|
frame-src:
|
||||||
|
- "{{ domains.peertube }}"
|
||||||
|
style-src:
|
||||||
|
- "https://fonts.bunny.net"
|
Loading…
x
Reference in New Issue
Block a user