diff options
author | Chocobozzz <me@florianbigard.com> | 2021-04-12 15:33:54 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-04-12 15:33:54 +0200 |
commit | 8155db669baff9aac5617a7aaf68dd35823ed7c9 (patch) | |
tree | 9a7575cd5d6bc9f4905d02c4a9aedd603ec2ec83 /config | |
parent | c24822a8fdbc0647aa983fe7d784864ec3b9b854 (diff) | |
download | PeerTube-8155db669baff9aac5617a7aaf68dd35823ed7c9.tar.gz PeerTube-8155db669baff9aac5617a7aaf68dd35823ed7c9.tar.zst PeerTube-8155db669baff9aac5617a7aaf68dd35823ed7c9.zip |
Dissociate frameguard from csp
Diffstat (limited to 'config')
-rw-r--r-- | config/default.yaml | 5 | ||||
-rw-r--r-- | config/production.yaml.example | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/config/default.yaml b/config/default.yaml index f9b6c50a3..281cc0577 100644 --- a/config/default.yaml +++ b/config/default.yaml | |||
@@ -153,6 +153,11 @@ csp: | |||
153 | report_only: true # CSP directives are still being tested, so disable the report only mode at your own risk! | 153 | report_only: true # CSP directives are still being tested, so disable the report only mode at your own risk! |
154 | report_uri: | 154 | report_uri: |
155 | 155 | ||
156 | security: | ||
157 | # Set the X-Frame-Options header to help to mitigate clickjacking attacks | ||
158 | frameguard: | ||
159 | enabled: true | ||
160 | |||
156 | tracker: | 161 | tracker: |
157 | # If you disable the tracker, you disable the P2P aspect of PeerTube | 162 | # If you disable the tracker, you disable the P2P aspect of PeerTube |
158 | enabled: true | 163 | enabled: true |
diff --git a/config/production.yaml.example b/config/production.yaml.example index f2e75af32..fed6b45ca 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example | |||
@@ -151,6 +151,11 @@ csp: | |||
151 | report_only: true # CSP directives are still being tested, so disable the report only mode at your own risk! | 151 | report_only: true # CSP directives are still being tested, so disable the report only mode at your own risk! |
152 | report_uri: | 152 | report_uri: |
153 | 153 | ||
154 | security: | ||
155 | # Set the X-Frame-Options header to help to mitigate clickjacking attacks | ||
156 | frameguard: | ||
157 | enabled: true | ||
158 | |||
154 | tracker: | 159 | tracker: |
155 | # If you disable the tracker, you disable the P2P aspect of PeerTube | 160 | # If you disable the tracker, you disable the P2P aspect of PeerTube |
156 | enabled: true | 161 | enabled: true |