Welcome! Log In Create A New Profile

Advanced

location ~* vs location ~ ?

Posted by wminside 
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.
location ~* vs location ~ ?
May 03, 2010 07:48PM
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.

Online Users

Guests: 78
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready