Ok, got it fixed. Insted of using: location ~* ^.+.(swf)$ { I set the swf folder as a location: location /swf-folder { Thanks -- Posted via http://www.ruby-forum.com/.