aboutsummaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-02-27 09:22:59 +0100
committerChocobozzz <me@florianbigard.com>2023-02-27 09:22:59 +0100
commit4765348107ddd21cd2a0b86093859aa2e23ac0f1 (patch)
treec5989241291fbe8c3e2dfd4a3f7dc93c190602dc /config
parent357308ce22e235428ee5c48aaca9308ed194c01a (diff)
downloadPeerTube-4765348107ddd21cd2a0b86093859aa2e23ac0f1.tar.gz
PeerTube-4765348107ddd21cd2a0b86093859aa2e23ac0f1.tar.zst
PeerTube-4765348107ddd21cd2a0b86093859aa2e23ac0f1.zip
Add x-powered-by header
Diffstat (limited to 'config')
-rw-r--r--config/default.yaml5
-rw-r--r--config/production.yaml.example5
2 files changed, 10 insertions, 0 deletions
diff --git a/config/default.yaml b/config/default.yaml
index d2bfae2aa..7ce345e2d 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -288,6 +288,11 @@ security:
288 frameguard: 288 frameguard:
289 enabled: true 289 enabled: true
290 290
291 # Set x-powered-by HTTP header to "PeerTube"
292 # Can help remote software to know this is a PeerTube instance
293 powered_by_header:
294 enabled: true
295
291tracker: 296tracker:
292 # If you disable the tracker, you disable the P2P on your PeerTube instance 297 # If you disable the tracker, you disable the P2P on your PeerTube instance
293 enabled: true 298 enabled: true
diff --git a/config/production.yaml.example b/config/production.yaml.example
index 0c942c5ec..877d77e01 100644
--- a/config/production.yaml.example
+++ b/config/production.yaml.example
@@ -286,6 +286,11 @@ security:
286 frameguard: 286 frameguard:
287 enabled: true 287 enabled: true
288 288
289 # Set x-powered-by HTTP header to "PeerTube"
290 # Can help remote software to know this is a PeerTube instance
291 powered_by_header:
292 enabled: true
293
289tracker: 294tracker:
290 # If you disable the tracker, you disable the P2P on your PeerTube instance 295 # If you disable the tracker, you disable the P2P on your PeerTube instance
291 enabled: true 296 enabled: true