nginx 配置

server {
listen 80;
server_name 139.196.254.143;

location /health {
root /product/backstage;
index index.html;
try_files $uri $uri/ /health/index.html;
}
location /health2 {
root /product/backstage;
index index.html;
try_files $uri $uri/ /health2/index.html;
}
location / {
root /product/backstage/health;
index index.html;
# try_files $uri $uri/ /index/html;
}
}

posted @ 2024-06-27 10:34  imtm  阅读(3)  评论(0编辑  收藏  举报