Hello, nginx is awesome!!! but i ve a problem with my nginx conf :
rewrite ^/video/(.*)/(.*) /playvideo.php?videoid=$1&title=$2 last;
location ~* ^.+.(jpg|jpeg|gif|css|png|js|ico|srt|txt|swf)$ {access_log off;expires 30d;}
every url that s finishing with jpg,jpeg,ico... have a 404 error i mean
ive this url rewriting: http://www.sitename.com/video/hello-cat-mexico this url have error 404 because it s ended with "ico" its the same with
http://www.sitename.com/video/hello-cat-mexijs (finish with js)
http://www.sitename.com/video/my-file-css (finish with css)...
But its ok if i remove location ~* ^.+.(jpg|jpeg|gif|css|png|js|ico|srt|txt|swf)$ {access_log off;expires 30d;}
So what can i do, its pretty strange?
Tx for your help.