server {
listen 8088;
server_name localhost;
location / {
root C:/wwwroot/html/social_work_frontend;
index index.html index.htm;
}
location /apis/ {
proxy_pass http://ip:port/;
}
}
server {
listen 8087;
server_name localhost;
location / {
root C:/wwwroot/html/social_work_frontend_admin;
index index.html index.htm;
}
location /apis/ {
proxy_pass http://ip:port/;
}
}