'location'
context is used to set configuration depending on request URI.
Example
location =
/welcome {
return 200 "Hey, welcome to
NGINX";
}
In coming
posts, I am going to explain below things.
a.
Prefix
Match
b.
Exact
Match
c.
Regular
Expression Match
d.
Case
insensitive match
e.
Preferential
prefix match
No comments:
Post a Comment