Welcome! Log In Create A New Profile

Advanced

Preferred method for location blocks

April 01, 2015 04:56PM
What is the difference between:

location /admin {
}

vs.

location ~ /admin(/.*) {
}


The first seems cleaner, and I assume runs faster - but do they process
differently?

--
Daniel

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Preferred method for location blocks

HeavyThumper April 01, 2015 04:56PM

Re: Preferred method for location blocks

Gena Makhomed April 01, 2015 06:42PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 131
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready