5
thinkphp6宝塔nginx伪静态配置
source link: https://www.iplayio.cn/post/892537
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
thinkphp6宝塔nginx伪静态配置示例
location ~* (runtime|application)/{
return 403;
}
location / {
if (!-e $request_filename){
rewrite ^(.*)$ /index.php?s=$1 last; break;
}
}
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK