February 2018
Beginner to intermediate
348 pages
9h 40m
English
The requested URI must be a case-sensitive match for the specified regular expression:
server {
server_name website.com;
location ~ ^/abcd$ {
[...]
}
}
The ^/abcd$ regular expression used in this example specifies that the pattern must begin (^) with /, be followed by abc, and finish ($) with d. Consequently, the configuration in the location block: