Re: Разные robots.txt

Роман n.g.i.n.x.e.r на gmail.com
Пн Дек 6 16:45:50 MSK 2010


Спасибо за идею

я пока сделал так

location = /robots.txt {
            alias /home/..../robots.$host.txt;
        }

я думал переменная $document_root будет работать внутри location, а
оказалось the $document_root variable may not be used in the "alias"
directive
чем можно ее заменить?


Подробная информация о списке рассылки nginx-ru