Skip to content

Commit b3cc248

Browse files
committed
Update the documented CSP options to be closer to a strict and viable policy
1 parent eec76ab commit b3cc248

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.env.example

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
# Careful about the quoting of directives! It is easy to break.
88
# CSP_DEFAULT_SRC="'self'"
9-
10-
# Enable this rule to allow font awesome to load from CDN
11-
# CSP_FONT_SRC="'self', https://cdnjs.cloudflare.com"
9+
# CSP_SCRIPT_SRC="'self', 'report-sample'"
10+
# CSP_STYLE_SRC="'self', 'report-sample'"
11+
# CSP_IMG_SRC="'self', blob:, i.ytimg.com, www.gravatar.com"
12+
# CSP_CONNECT_SRC="'self', releases.wagtail.org"
13+
# CSP_FRAME_SRC="'self', www.youtube.com"

0 commit comments

Comments
 (0)