Hi Maxim! Thanks for the reply. You're absolutly right. The for static contect caught the url. I'll cahnge it to: location ~* ^.+\.(jpg|jpeg|gif.....)$ { ... } as shown in the example (http://wiki.codemongers.com/NginxFullExample2) Thank you! -- Posted via http://www.ruby-forum.com/.