From f883c6ede2d7acf61a2320ce27e316e866da50e4 Mon Sep 17 00:00:00 2001
From: Benjamin Neff <benjamin@coding4coffee.ch>
Date: Tue, 27 Feb 2018 00:30:37 +0100
Subject: [PATCH] Add /camo/ to robots.txt

Camo only proxies images hosted somewhere else, so it doesn't make sense
to add the proxied versions to search engines. It only creates traffic
for camo when /camo/* urls are in search results.

closes #7726
---
 Changelog.md      | 1 +
 public/robots.txt | 1 +
 2 files changed, 2 insertions(+)

diff --git a/Changelog.md b/Changelog.md
index a1c9a5496f..3e13b6269b 100644
--- a/Changelog.md
+++ b/Changelog.md
@@ -3,6 +3,7 @@
 ## Refactor
 * Don't print a warning when starting the server outside a Git repo [#7712](https://github.com/diaspora/diaspora/pull/7712)
 * Make script/server work on readonly filesystems [#7719](https://github.com/diaspora/diaspora/pull/7719)
+* Add camo paths to the robots.txt [#7726](https://github.com/diaspora/diaspora/pull/7726)
 
 ## Bug fixes
 * Prevent duplicate mention notifications when the post is received twice [#7721](https://github.com/diaspora/diaspora/pull/7721)
diff --git a/public/robots.txt b/public/robots.txt
index 7ad0e36b67..4a268aa4d4 100644
--- a/public/robots.txt
+++ b/public/robots.txt
@@ -8,3 +8,4 @@
 User-Agent: *
 Disallow: /people/
 Disallow: /u/
+Disallow: /camo/
-- 
GitLab