1、
server
{
listen 8079;
server_name localhost;
location / {
try_files $uri $uri/ /index.html;
alias E:/home/upload;
}
}
2、
server
{
listen 8050;
server_name localhost;
location / {
try_files $uri $uri/ /index.html;
root E:/YHWB_Git_Project/mh_portal_odaf_ui/dist;
}
}