hackmd: SSL, temporary CSP'fix

This commit is contained in:
Markus 2018-05-01 11:49:42 +02:00
parent e24a9ede41
commit d3a50a75d6

View File

@ -1,6 +1,7 @@
{ {
"production": { "production": {
"domain": "{{ hackmd_domain }}", "domain": "{{ hackmd_domain }}",
"protocolUseSSL": true,
"_hsts": { "_hsts": {
"enable": true, "enable": true,
"maxAgeSeconds": "31536000", "maxAgeSeconds": "31536000",
@ -8,9 +9,8 @@
"preload": true "preload": true
}, },
"csp": { "csp": {
"enable": true, "enable": false,
"directives": { "directives": {
"imgSrc": ["self", "unsafe-inline"]
}, },
"upgradeInsecureRequests": "auto", "upgradeInsecureRequests": "auto",
"addDefaults": true, "addDefaults": true,
@ -35,7 +35,6 @@
"usernameField": "cn", "usernameField": "cn",
"useridField": "uid", "useridField": "uid",
"tlsca": "/etc/ldap/ssl/BKCA.crt" "tlsca": "/etc/ldap/ssl/BKCA.crt"
}
}, },
"email": false "email": false
} }