2023-06-30 14:10:07 +00:00
|
|
|
# This file contains Content Security Policy (CSP) directives to test Wagtail's compatibility with CSP.
|
2023-06-30 12:46:09 +00:00
|
|
|
# If the variables defined here are loaded into the environment, CSP will be enabled.
|
|
|
|
|
2023-06-30 14:10:07 +00:00
|
|
|
# These values are commented out by default because Wagtail is not (yet) compatible with
|
|
|
|
# the strict policy defined below.
|
|
|
|
|
2023-06-30 12:46:09 +00:00
|
|
|
# Careful about the quoting of directives! It is easy to break.
|
|
|
|
# CSP_DEFAULT_SRC="'self'"
|
|
|
|
|
|
|
|
# Enable this rule to allow font awesome to load from CDN
|
|
|
|
# CSP_FONT_SRC="'self', https://cdnjs.cloudflare.com"
|