From 4765348107ddd21cd2a0b86093859aa2e23ac0f1 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 27 Feb 2023 09:22:59 +0100 Subject: Add x-powered-by header --- config/default.yaml | 5 +++++ config/production.yaml.example | 5 +++++ 2 files changed, 10 insertions(+) (limited to 'config') 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: frameguard: enabled: true + # Set x-powered-by HTTP header to "PeerTube" + # Can help remote software to know this is a PeerTube instance + powered_by_header: + enabled: true + tracker: # If you disable the tracker, you disable the P2P on your PeerTube instance 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: frameguard: enabled: true + # Set x-powered-by HTTP header to "PeerTube" + # Can help remote software to know this is a PeerTube instance + powered_by_header: + enabled: true + tracker: # If you disable the tracker, you disable the P2P on your PeerTube instance enabled: true -- cgit v1.2.3