目 录CONTENT

文章目录

Thinkphp和Vue在一个域名下

ABin
2025-05-27 / 0 评论 / 0 点赞 / 17 阅读 / 0 字

nginx 伪静态配置

location ~* (runtime|application)/{
	return 403;
}
location /*.php {
   if (!-e $request_filename) {
       rewrite ^(.*)$ /NocwlBxqtv.php?s=$1 last;
   }
}
location /api {
	if (!-e $request_filename){
		rewrite  ^(.*)$  /index.php?s=$1  last;   break;
	}
}
location / {
  try_files $uri $uri/ /index.html;
}

0

评论区