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

NGINX: How to reopen log files?


sudo nginx -s reopen : to reopen the log files



Previous                                                    Next                                                    Home

How to stop NGINX?


sudo nginx -s stop : fast shutdown
sudo nginx -s quit : Graceful shutdown



Previous                                                    Next                                                    Home