Spasiba Igor, but it still no works, even if I moved rewrites to location like you proposed. Do you have any other ideas? I think it's issue specified with my .html parsing.. Unfortunately, as I wrote, we cannot change this to other extension. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,2950,2962#msg-2962