From b569b2c607bec0e671228131a5b1fe6ddf9717a0 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 22 Sep 2022 08:54:57 +0200 Subject: [PATCH] Add cache info for security.txt config --- config/default.yaml | 3 ++- config/production.yaml.example | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/config/default.yaml b/config/default.yaml index 0b0a54eef..3a0b494fb 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 209aaa56a..dafc15915 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:'