Разобрался, правильно так 
        location /robots.txt {
                try_files /robots1.txt @rewrite;
                rewrite /robots1.txt permanent;
        }

Posted at Nginx Forum: 
https://forum.nginx.org/read.php?21,271763,271764#msg-271764

_______________________________________________
nginx-ru mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx-ru

Ответить