fix: 修复/pms不带斜杠404问题,添加重定向
This commit is contained in:
parent
a3f4f5929c
commit
e24af59615
@ -34,6 +34,11 @@ server {
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
|
||||
# PMS管理前端 - 不带斜杠时重定向
|
||||
location = /pms {
|
||||
return 301 /pms/;
|
||||
}
|
||||
|
||||
# PMS管理前端
|
||||
location /pms/ {
|
||||
alias /data/pms/web/;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user