在location中 如果uri沒有命中規(guī)則會繼續(xù)到其他的location / ? 或者location中有與該uri不匹配這回到其他location /match 去執(zhí)行
For example:
location /test {
try_files $uri $uri/ /image/default.gif;
}
location / {
# location test try_fiels 失敗會跳到這里(沒有l(wèi)ocation /images)
}
location /images {
? ? # location test try_fiels 失敗會跳到這里?
}