Nginx location in the priority order of the regular expression

Match priority: = ^ ~, ~ / ~ * ,

location priority: (location = )> (location full path )> (location ^ ~ Path )> (location ~, ~ * regular order )> (location part of the starting path )> (/)

Guess you like

Origin blog.51cto.com/14240018/2445958