mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 21:54:46 +08:00
Prevent robots from indexing uploads
Although most user uploads are probably harmless, it's possible someone has (either maliciously or not) uploaded sensitive information. Prevent robots from indexing the uploads route.
This commit is contained in:
@ -27,5 +27,6 @@ Disallow: /*?api_key*
|
||||
Disallow: /*?*api_key*
|
||||
Disallow: /groups
|
||||
Disallow: /groups/
|
||||
Disallow: /uploads/
|
||||
|
||||
<%= server_plugin_outlet "robots_txt_index" %>
|
||||
|
Reference in New Issue
Block a user