# 配置前端访问路径
location / {
root /data/apps/hyd-web;
index index.html index.htm;
}
# 部署的后端访问地址和端口号
location /dev-api/ {
proxy_pass http://127.0.0.1:15060/;
}
若依部署前端nginx的配置
阅读 72
2022-02-22
# 配置前端访问路径
location / {
root /data/apps/hyd-web;
index index.html index.htm;
}
# 部署的后端访问地址和端口号
location /dev-api/ {
proxy_pass http://127.0.0.1:15060/;
}
相关推荐
精彩评论(0)