What is the tilde (~) doing in an Nginx Location directive? ie:
location ~* \.(png|gif|jpg)$ {
  [...configuration]
}
What is the tilde (~) doing in an Nginx Location directive? ie:
location ~* \.(png|gif|jpg)$ {
  [...configuration]
}
 
    
    The tilde (~) is an identifier for Nginx letting it know that the location block is using a REGEX to match the location.
"~" = REGEX match, case-sensitive
"~*" = REGEX match, case-insensitive
