Location modifier
Nginx allows you to define location blocks by specifying a pattern that will be matched against the requested URI.
server {
server_name website.com;
location /admin/ {
# The configuration you place here only applies to
# http://website.com/admin/
}
}
Nginx allows you to define location blocks by specifying a pattern that will be matched against the requested URI.
server {
server_name website.com;
location /admin/ {
# The configuration you place here only applies to
# http://website.com/admin/
}
}