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