mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 02:40:53 -06: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:
parent
dc77cce8d9
commit
0fd622e5d1
@ -27,5 +27,6 @@ Disallow: /*?api_key*
|
||||
Disallow: /*?*api_key*
|
||||
Disallow: /groups
|
||||
Disallow: /groups/
|
||||
Disallow: /uploads/
|
||||
|
||||
<%= server_plugin_outlet "robots_txt_index" %>
|
||||
|
Loading…
Reference in New Issue
Block a user