Skip to content

Commit

Permalink
updated default source to test image font and websocket connect policies
Browse files Browse the repository at this point in the history
  • Loading branch information
metaclassing committed Aug 5, 2018
1 parent 5777b9f commit b8fbab5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/security/apicontentsecurity.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
# frame-src 'self' data: chrome-extension-resource:;
# font-src 'self' data: chrome-extension-resource:;
# media-src * data: blob: filesystem:;
add_header Content-Security-Policy 'default-src \'self\'; script-src * \'self\' \'unsafe-inline\'; style-src * \'self\' \'unsafe-inline\'; upgrade-insecure-requests;' always;
#add_header Content-Security-Policy 'default-src \'self\'; img-src *; font-src *; connect-src *; script-src * \'self\' \'unsafe-inline\'; style-src * \'self\' \'unsafe-inline\'; upgrade-insecure-requests;' always;
add_header Content-Security-Policy 'default-src * \'self\'; script-src * \'self\' \'unsafe-inline\'; style-src * \'self\' \'unsafe-inline\'; upgrade-insecure-requests;' always;

add_header X-Frame-Options "SAMEORIGIN" always;
add_header X-Content-Type-Options "nosniff" always;
Expand Down

0 comments on commit b8fbab5

Please sign in to comment.