寶塔面板nginx配置隱藏入口文件index.php

1、網站設置php   二、僞靜態,寫入如下代碼,保存便可網站 location / { if (!-e $request_filename){ rewrite ^(.*)$ /index.php?s=$1 last; break; } }
相關文章
相關標籤/搜索