This repository has been archived on 2026-06-20. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
wangpu_auth/nginx伪静态
T
wsh5485 c035380ea7 refactor(nginx配置): 重构nginx配置为伪静态文件并删除旧配置
将nginx配置从nginx.conf文件迁移到新的伪静态文件,删除旧的nginx.conf
新的伪静态配置专注于URL重写规则,移除了PHP处理等无关配置
2025-11-25 17:49:39 +08:00

11 lines
318 B
Plaintext

# nginx伪静态信息
# 将所有请求重定向到index.php
location / {
# 检查请求的文件或目录是否存在
if (!-e $request_filename) {
# 保留查询字符串,重写所有请求到index.php
rewrite ^/(.*)$ /index.php?$args last;
}
}