
server {

    listen 80;
    server_name  localhost;
    
  
    
    location /{
    
        root /home/yiyang/html;
        index index.htm index.html;
    }
  
    location /prod-api/ {
    
        proxy_pass http://127.0.0.1:9200/;
    
    }

     location /jmreport/ {
    
        proxy_pass http://127.0.0.1:8085/jmreport/;
    
    }


}
