aboutsummaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-09-22 08:54:57 +0200
committerChocobozzz <me@florianbigard.com>2022-09-22 08:54:57 +0200
commitb569b2c607bec0e671228131a5b1fe6ddf9717a0 (patch)
tree707d0589a4d893e5873f3b46400727a512e5cd91 /config
parent4a9de87793b793888e548137908b6439f6246d21 (diff)
downloadPeerTube-b569b2c607bec0e671228131a5b1fe6ddf9717a0.tar.gz
PeerTube-b569b2c607bec0e671228131a5b1fe6ddf9717a0.tar.zst
PeerTube-b569b2c607bec0e671228131a5b1fe6ddf9717a0.zip
Add cache info for security.txt config
Diffstat (limited to 'config')
-rw-r--r--config/default.yaml3
-rw-r--r--config/production.yaml.example3
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:
638 robots: | 638 robots: |
639 User-agent: * 639 User-agent: *
640 Disallow: 640 Disallow:
641 # Security.txt rules. To discourage researchers from testing your instance and disable security.txt integration, set this to an empty string 641 # /.well-known/security.txt rules. This endpoint is cached, so you may have to wait a few hours before viewing your changes
642 # To discourage researchers from testing your instance and disable security.txt integration, set this to an empty string
642 securitytxt: 643 securitytxt:
643 '# 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:' 644 '# 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:'
644 645
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:
648 robots: | 648 robots: |
649 User-agent: * 649 User-agent: *
650 Disallow: 650 Disallow:
651 # Security.txt rules. To discourage researchers from testing your instance and disable security.txt integration, set this to an empty string 651 # /.well-known/security.txt rules. This endpoint is cached, so you may have to wait a few hours before viewing your changes
652 # To discourage researchers from testing your instance and disable security.txt integration, set this to an empty string
652 securitytxt: 653 securitytxt:
653 '# 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:' 654 '# 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:'
654 655