Problem with serving swf files with reverse proxy

Hi,

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
http://www.url.com/page/path/to/swf.

Any idea why this is happand?

Thanks
Avi

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

Thanks