diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2018-09-18 11:18:51 +0200 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2018-09-18 11:18:51 +0200 |
commit | df182b373fc49f20188d531494e1bff1a9ad247e (patch) | |
tree | 5839325dc1c1fa196a87f46ff7c4ffac707bab0b /config | |
parent | d5931e623320d0851a19e1001e90c7d8138d7a20 (diff) | |
download | PeerTube-df182b373fc49f20188d531494e1bff1a9ad247e.tar.gz PeerTube-df182b373fc49f20188d531494e1bff1a9ad247e.tar.zst PeerTube-df182b373fc49f20188d531494e1bff1a9ad247e.zip |
normalize robot.txt and specify test servers as scope of security audits
Diffstat (limited to 'config')
-rw-r--r-- | config/default.yaml | 2 | ||||
-rw-r--r-- | config/production.yaml.example | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/config/default.yaml b/config/default.yaml index adac9deeb..ab07bfedd 100644 --- a/config/default.yaml +++ b/config/default.yaml | |||
@@ -142,7 +142,7 @@ instance: | |||
142 | # Robot.txt rules. To disallow robots to crawl your instance and disallow indexation of your site, add '/' to "Disallow:' | 142 | # Robot.txt rules. To disallow robots to crawl your instance and disallow indexation of your site, add '/' to "Disallow:' |
143 | robots: | | 143 | robots: | |
144 | User-agent: * | 144 | User-agent: * |
145 | Disallow: '' | 145 | Disallow: |
146 | # Security.txt rules. To discourage researchers from testing your instance and disable security.txt integration, set this to an empty string. | 146 | # Security.txt rules. To discourage researchers from testing your instance and disable security.txt integration, set this to an empty string. |
147 | securitytxt: | 147 | securitytxt: |
148 | "# 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:" | 148 | "# 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 ca7b936c2..f9557b8eb 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example | |||
@@ -156,7 +156,7 @@ instance: | |||
156 | # Robot.txt rules. To disallow robots to crawl your instance and disallow indexation of your site, add '/' to "Disallow:' | 156 | # Robot.txt rules. To disallow robots to crawl your instance and disallow indexation of your site, add '/' to "Disallow:' |
157 | robots: | | 157 | robots: | |
158 | User-agent: * | 158 | User-agent: * |
159 | Disallow: '' | 159 | Disallow: |
160 | # Security.txt rules. To discourage researchers from testing your instance and disable security.txt integration, set this to an empty string. | 160 | # Security.txt rules. To discourage researchers from testing your instance and disable security.txt integration, set this to an empty string. |
161 | securitytxt: | 161 | securitytxt: |
162 | "# 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:" | 162 | "# 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:" |