I've seen it both ways.
This is exactly what I'm doing
[code]
location ~* \.(ico|css|js|gif|jpeg|png)$ {
expires max;
}
[/code]
Does anyone know what would be the difference if I don't use *?
[b]Edited[/b]: http://wiki.nginx.org/NginxHttpCoreModule#location :)
Edited 2 time(s). Last edit at 05/03/2010 07:53PM by wminside.