6 messages in ru.sysoev.nginxRe: Serving an alternate robots.txt f...
FromSent OnAttachments
Juan Fco. GiordanaJan 13, 2009 3:14 pm 
Dave CheneyJan 13, 2009 3:58 pm 
Juan Fco. GiordanaJan 13, 2009 6:54 pm 
Igor SysoevJan 13, 2009 10:57 pm 
Dave CheneyJan 14, 2009 12:38 am 
Juan Fco. GiordanaJan 14, 2009 3:38 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: Serving an alternate robots.txt for SSL requests.Actions...
From:Dave Cheney (da@cheney.net)
Date:Jan 13, 2009 3:58:51 pm
List:ru.sysoev.nginx

Does anybody know if this is possible to do within a single server context that handle both protocols in version 0.7.*?

Thanks.

I prefer to put my vhost definitions in a seperate file so my version of this would look something like this

server { listen 80; include vhost.d/vhost.conf; }

server { listen 443; include ssl.conf;

location = /robots.txt { ... }

include vhost.d/vhost.conf; }

Cheers

Dave