fix: 修复/pms不带斜杠404问题,添加重定向

This commit is contained in:
12451 2026-07-02 17:47:57 +08:00
parent a3f4f5929c
commit e24af59615

View File

@ -34,6 +34,11 @@ server {
proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Proto $scheme;
} }
# PMS管理前端 - 不带斜杠时重定向
location = /pms {
return 301 /pms/;
}
# PMS管理前端 # PMS管理前端
location /pms/ { location /pms/ {
alias /data/pms/web/; alias /data/pms/web/;