From e782b569838036bde9612de77c85b910a58f26aa Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Fri, 2 Oct 2015 17:28:23 -0400 Subject: [PATCH] Serve the local /robots.txt instead of proxying it Exclude "/robots.txt" from Apache's reverse proxying so that it can be served to crawlers. Change-Id: Ibd3a592e7906169d40619ae5c8dc02afe3589a81 Depends-On: I55a86d3c703a667daf55cb75cf559eb23a556219 --- manifests/site.pp | 1 + 1 file changed, 1 insertion(+) diff --git a/manifests/site.pp b/manifests/site.pp index 51c8b08..f4f43ec 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -17,6 +17,7 @@ define lodgeit::site( port => 80, dest => "http://localhost:${port}", require => File["/srv/lodgeit/${name}"], + proxyexclusions => ["/robots.txt"], } file { "/etc/init/${name}-paste.conf":