Skip to content

Commit

Permalink
Allow websockets in default CSP (digitalocean#345)
Browse files Browse the repository at this point in the history
  • Loading branch information
MattIPv4 authored Apr 22, 2022
1 parent 9f396e0 commit da783ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nginxconfig/templates/global_sections/security.vue
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ THE SOFTWARE.
enabled: true,
},
contentSecurityPolicy: {
default: 'default-src \'self\' http: https: data: blob: \'unsafe-inline\'; frame-ancestors \'self\';',
default: 'default-src \'self\' http: https: ws: wss: data: blob: \'unsafe-inline\'; frame-ancestors \'self\';',
enabled: true,
},
permissionsPolicy: {
Expand Down

0 comments on commit da783ae

Please sign in to comment.