diff options
-rw-r--r-- | config/default.yaml | 3 | ||||
-rw-r--r-- | 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: | |||
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 | ||