fix: disallow all indexing on canary site and indexing of auth-only pages in prod (#1175)

zio/stable
Daniel Roe 2023-01-15 14:34:23 +00:00 committed by GitHub
parent 5da5f9ac7d
commit 5a6248a08f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,2 @@
User-agent: *
Disallow: /

View File

@ -1,2 +1,23 @@
User-agent: * User-agent: *
Allow: / Allow: /
# Disallow authenticated pages
Disallow /intent
Disallow /settings
Disallow /blocks
Disallow /bookmarks
Disallow /compose
Disallow /conversations
Disallow /domain_blocks
Disallow /favourites
Disallow /home
Disallow /mutes
Disallow /notifications
Disallow /pinned
Disallow /search
Disallow /settings
Disallow /share-target
# Wait 1 second between successive requests.
Crawl-delay: 1