如果有很多對應到location block,nginx會選擇最長的prefix。location / { }這是最短的prefix, ... 主要用來處理像是圖片等檔案或是的靜態網頁,這邊實作官方的教學。
確定! 回上一頁