Yes, you are right, I have this line in my config that conflicts when I would like to open any image files.
location ~* \.(ico|css|gif|js|jpe?g|png)(\?[0-9]+)?$ {
add_header Cache-Control "must-revalidate";
expires max;
break;
}
But I need it otherwise pages will be loading extremely slow. So this line along with my previous updates give me the correct behavior.
Thanks,
Irina