nginx matching rules

Divided into three kinds
location = pattern {} precisely match
location pattern {} is generally matching
location ~ pattern {} regular match

1. an exact match hit-return
2. Ordinary match, recording the longest matching path result
3.Ordinary match is made into the regular match, a hit first regular match, returns. If no positive hits, returns to normal match result

Points: Ordinary no matching sequence matches the regular sequential

Published 30 original articles · won praise 0 · Views 1011

Guess you like

Origin blog.csdn.net/l4oli/article/details/102457989