文件
fenleixinxi/public/nginx.htaccess

8 行
364 B
Plaintext

此文件含有模棱两可的 Unicode 字符

此文件含有可能会与其他字符混淆的 Unicode 字符。 如果您是想特意这样的,可以安全地忽略该警告。 使用 Escape 按钮显示他们。

# FastAdmin / ThinkPHP 伪静态
# 本文件被 nginx vhost 的 location / 通过 include 引入(见 fenleixinxi_9980.conf)。
# 作用:文件/目录不存在时,统一交给入口 index.php 走 ?s= 路由,
# 使 /api/v1/** 、/s.php/** 等完整 URL 与线上一致可用。
if (!-e $request_filename) {
rewrite ^(.*)$ /index.php?s=$1 last;
}