Welcome! Log In Create A New Profile

Advanced

location ~* vs location ~ ?

Posted by wminside 
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.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 135
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