Saturday, 30 November 2019

NGINX: Location Blocks


'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



Previous                                                    Next                                                    Home

No comments:

Post a Comment