refactor: 分离产品介绍页(/data/landing)和PMS前端(/data/pms/web)
This commit is contained in:
parent
9358db42e7
commit
2633c830c9
@ -13,7 +13,8 @@ server {
|
|||||||
ssl_protocols TLSv1.2 TLSv1.3;
|
ssl_protocols TLSv1.2 TLSv1.3;
|
||||||
ssl_ciphers HIGH:!aNULL:!MD5;
|
ssl_ciphers HIGH:!aNULL:!MD5;
|
||||||
|
|
||||||
root /data/www;
|
# 产品介绍页
|
||||||
|
root /data/landing;
|
||||||
index index.html;
|
index index.html;
|
||||||
|
|
||||||
location /doc/ {
|
location /doc/ {
|
||||||
@ -33,8 +34,9 @@ server {
|
|||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# PMS管理前端
|
||||||
location /pms/ {
|
location /pms/ {
|
||||||
alias /data/pms/;
|
alias /data/pms/web/;
|
||||||
try_files $uri $uri/ /pms/index.html;
|
try_files $uri $uri/ /pms/index.html;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user