Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Add cache info for security.txt config

Chocobozzzb569b2c607be
diff --git a/config/default.yaml b/config/default.yaml
index 0b0a54eef3..3a0b494fbd 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -638,7 +638,8 @@ instance:
robots: |
User-agent: *
Disallow:
- # Security.txt rules. To discourage researchers from testing your instance and disable security.txt integration, set this to an empty string
+ # /.well-known/security.txt rules. This endpoint is cached, so you may have to wait a few hours before viewing your changes
+ # To discourage researchers from testing your instance and disable security.txt integration, set this to an empty string
securitytxt:
'# If you would like to report a security issue\n# you may report it to:\nContact: https://github.com/Chocobozzz/PeerTube/blob/develop/SECURITY.md\nContact: mailto:'
diff --git a/config/production.yaml.example b/config/production.yaml.example
index 209aaa56ac..dafc15915e 100644
--- a/config/production.yaml.example
+++ b/config/production.yaml.example
@@ -648,7 +648,8 @@ instance:
robots: |
User-agent: *
Disallow:
- # Security.txt rules. To discourage researchers from testing your instance and disable security.txt integration, set this to an empty string
+ # /.well-known/security.txt rules. This endpoint is cached, so you may have to wait a few hours before viewing your changes
+ # To discourage researchers from testing your instance and disable security.txt integration, set this to an empty string
securitytxt:
'# If you would like to report a security issue\n# you may report it to:\nContact: https://github.com/Chocobozzz/PeerTube/blob/develop/SECURITY.md\nContact: mailto:'