help with location and order

Life Life lists at
Fri Jun 11 13:38:27 MSD 2010

I have this config, I need to use jpg in /data/abc/files/ but when I
browse it nginx will use file jpg in /var/www/images (second condition),
how to fix it?

root /var/www/images;

location = /abc/files/ {
        alias /data/abc/files/;

location ~* ^.+.(jpg|jpeg|gif|css|png|js|ico|swf|flv)$ {
        access_log  off;
        expires     1d;
Posted via

More information about the nginx mailing list