mirror of
https://github.com/discourse/discourse.git
synced 2025-05-06 04:04:44 +08:00
SECURITY: Prevent robots from indexing more routes
These routes could contain sensitive material and should never be indexed for content.
This commit is contained in:
parent
670450bcfc
commit
f655936b9d
@ -16,5 +16,14 @@ Disallow: /search
|
|||||||
Disallow: /search/
|
Disallow: /search/
|
||||||
Disallow: /tags
|
Disallow: /tags
|
||||||
Disallow: /tags/
|
Disallow: /tags/
|
||||||
|
Disallow: /email/
|
||||||
|
Disallow: /session
|
||||||
|
Disallow: /session/
|
||||||
|
Disallow: /admin
|
||||||
|
Disallow: /admin/
|
||||||
|
Disallow: /user-api-key
|
||||||
|
Disallow: /user-api-key/
|
||||||
|
Disallow: /*?api_key*
|
||||||
|
Disallow: /*?*api_key*
|
||||||
|
|
||||||
<%= server_plugin_outlet "robots_txt_index" %>
|
<%= server_plugin_outlet "robots_txt_index" %>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user