Problem with serving swf files with reverse proxy


I’m using nginx with reverse proxy to apache.
I have a wired problem,

When i set .swf files to go with reverse proxy, everything works ok.
When i set .swf files to be served from nginx, i get tons of errors
because nginx try to find the file from

Any idea why this is happand?


Ok, got it fixed.
Insted of using:
location ~* ^.+.(swf)$ {
I set the swf folder as a location:
location /swf-folder {