Enable Content-Security-Policy header by default
This commit is contained in:
parent
89f7f97294
commit
c0a4895854
2 changed files with 5 additions and 5 deletions
|
|
@ -150,7 +150,7 @@ defaults:
|
||||||
title: 'diaspora* social network'
|
title: 'diaspora* social network'
|
||||||
description: 'diaspora* is the online social world where you are in control.'
|
description: 'diaspora* is the online social world where you are in control.'
|
||||||
csp:
|
csp:
|
||||||
report_only: true
|
report_only: false
|
||||||
report_uri:
|
report_uri:
|
||||||
services:
|
services:
|
||||||
facebook:
|
facebook:
|
||||||
|
|
|
||||||
|
|
@ -571,10 +571,10 @@ configuration: ## Section
|
||||||
## is blocked by CSP.
|
## is blocked by CSP.
|
||||||
csp:
|
csp:
|
||||||
|
|
||||||
## Report-Only header (default=true)
|
## Report-Only header (default=false)
|
||||||
## By default diaspora* adds only a "Content-Security-Policy-Report-Only" header. If you set
|
## By default diaspora* adds a "Content-Security-Policy" header. If you set
|
||||||
## this to false, the "Content-Security-Policy" header is added instead.
|
## this to true, the "Content-Security-Policy-Report-Only" header is added instead.
|
||||||
#report_only: false
|
#report_only: true
|
||||||
|
|
||||||
## CSP report URI (default=)
|
## CSP report URI (default=)
|
||||||
## You can set an URI here, where the user agent reports violations as JSON document via a POST request.
|
## You can set an URI here, where the user agent reports violations as JSON document via a POST request.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue