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
This commit is contained in:
parent
d38753b5f6
commit
e782b56983
|
@ -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":
|
||||
|
|
Loading…
Reference in New Issue