diff options
author | Chocobozzz <me@florianbigard.com> | 2019-02-21 16:27:32 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-02-21 16:28:53 +0100 |
commit | 539d3f4faa1c1d2dbc68bb3ac0ba3549252e0f2a (patch) | |
tree | 9bddd2ba539a49b3741fbd2ff3a2127e41a40268 /config/production.yaml.example | |
parent | c8000975d361fae166a6ebecac5005238e14d4c9 (diff) | |
download | PeerTube-539d3f4faa1c1d2dbc68bb3ac0ba3549252e0f2a.tar.gz PeerTube-539d3f4faa1c1d2dbc68bb3ac0ba3549252e0f2a.tar.zst PeerTube-539d3f4faa1c1d2dbc68bb3ac0ba3549252e0f2a.zip |
BREAKING: update CSP configuration
Disable it by default and add ability to specify a custom report uri
Diffstat (limited to 'config/production.yaml.example')
-rw-r--r-- | config/production.yaml.example | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config/production.yaml.example b/config/production.yaml.example index ae8fb2d51..c227d5fcc 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example | |||
@@ -97,6 +97,12 @@ redundancy: | |||
97 | # strategy: 'recently-added' # Cache recently added videos | 97 | # strategy: 'recently-added' # Cache recently added videos |
98 | # min_views: 10 # Having at least x views | 98 | # min_views: 10 # Having at least x views |
99 | 99 | ||
100 | csp: | ||
101 | enabled: false | ||
102 | report_only: true # CSP directives are still being tested, so disable the report only mode at your own risk! | ||
103 | report_uri: | ||
104 | |||
105 | |||
100 | ############################################################################### | 106 | ############################################################################### |
101 | # | 107 | # |
102 | # From this point, all the following keys can be overridden by the web interface | 108 | # From this point, all the following keys can be overridden by the web interface |