Quantcast
Channel: Nginx Forum - Nginx Mailing List - English
Viewing all articles
Browse latest Browse all 7229

Preferred method for location blocks (1 reply)

$
0
0
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

Viewing all articles
Browse latest Browse all 7229

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>