remove wss from connecSrc in example nginx config
This commit is contained in:
parent
f590f60dcb
commit
1b3c2a43bf
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ server {
|
|||
set $styleSrc "'unsafe-inline' 'self' ${main_domain}";
|
||||
|
||||
# connect-src restricts URLs which can be loaded using script interfaces
|
||||
set $connectSrc "'self' https://${main_domain} wss://${main_domain} $main_domain https://${api_domain} blob:";
|
||||
set $connectSrc "'self' https://${main_domain} $main_domain https://${api_domain} blob:";
|
||||
|
||||
# fonts can be loaded from data-URLs or the main domain
|
||||
set $fontSrc "'self' data: ${main_domain}";
|
||||
|
|
Loading…
Reference in a new issue