diff options
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 |