Skip to content

Commit 8461b9d

Browse files
committed
Add more bots to robots.txt and apply it to blog
1 parent f59a8e1 commit 8461b9d

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

ansible/group_vars/blog.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ apache:
2626
DocumentRoot /var/www/blog
2727
ServerName blog.openrailwaymap.org
2828
29+
Alias /robots.txt /var/www/common/ban_bad_robots.txt
2930
<Directory /var/www/blog>
3031
AllowOverride None
3132
</Directory>

ansible/group_vars/webservers.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ robots_txt: |-
3333
User-agent: OAI-SearchBot
3434
User-agent: GPTBot
3535
User-agent: ChatGPT-User
36+
User-agent: ClaudeBot
37+
User-agent: YaK
38+
User-agent: Flyriverbot
3639
User-agent: Amazonbot
3740
User-agent: MistralAI-User
3841
User-agent: AhrefsBot

0 commit comments

Comments
 (0)