apache往nginx去轉(zhuǎn),代碼端用到了$_SERVER,對于nginx默認(rèn)是不開啟pathinfo的。所以我們就要手動開啟 1,url重寫 location / { //方法1 if (!-e $requ ...
服務(wù)器 2022-10-12 14:35