loading a different robots.txt file for a different sub domain?

Ilan Berkner iberkner at gmail.com
Fri May 21 17:43:24 MSD 2010

Hi All,

We have 2 sub-domain groups setup for processing incoming requests:

1. "server2"
2. all others, for example: "www"

The 2 sub-domains share the same directory for delivery of static files
(html, images, swf, etc.) but use different PHP backends.

Is there a way, using nginx configuration to load a different robots.txt
file when requested for one group vs. the other?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20100521/1af00d05/attachment-0001.html>

More information about the nginx mailing list