Preferred method for location blocks

Daniel Miller dmiller at amfes.com
Wed Apr 1 20:55:18 UTC 2015


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



More information about the nginx mailing list