Browse Source

Added CSP suggestions and example.

pull/154/merge
Simon Eisenmann 11 years ago
parent
commit
14afcc4416
  1. 10
      server.conf.in

10
server.conf.in

@ -102,8 +102,16 @@ serverRealm = local
; examples. ; examples.
;plugin = extra/static/myplugin.js ;plugin = extra/static/myplugin.js
; Content-Security-Policy HTTP response header value. ; Content-Security-Policy HTTP response header value.
; Spreed WebRTC requires inline styles, WebSocket connection to itself and
; data: URL for images.
; The currently recommended CSP is:
; default-src 'self';
; style-src 'self' 'unsafe-inline';
; img-src 'self' data:;
; connect-src 'self' wss://server:port/ws;
;contentSecurityPolicy = ;contentSecurityPolicy =
; Content-Security-Policy-Report-Only HTTP response header value. ; Content-Security-Policy-Report-Only HTTP response header value. Use this
; to test your CSP before putting it into production.
;contentSecurityPolicyReportOnly = ;contentSecurityPolicyReportOnly =
[log] [log]

Loading…
Cancel
Save