Optimized CSP

This commit is contained in:
2025-05-14 21:25:17 +02:00
parent 25d16eb620
commit 551c041452
10 changed files with 176 additions and 37 deletions

View File

@@ -1,11 +1,19 @@
network: "discourse_default" # Name of the docker network
container: "discourse_application" # Name of the container application
repository: "discourse_repository" # Name of the repository folder
credentials:
# database_password: # Needs to be defined in inventory file
credentials:
features:
matomo: true
css: true
landingpage_iframe: false
oidc: true
central_database: true
central_database: true
csp:
flags:
style-src:
unsafe_inline: true
script-src:
unsafe_inline: true
whitelist:
font-src:
- "http://*.{{primary_domain}}"