upstream disconf { server 127.0.0.1:8080; #tomcat服务器的地址 } server { listen 8091; #监听端口 server_name localhost; #域名 index index.html;
location / { root /usr/local/disconf/war/html; #静态资源目录 index index.html; } location ~ ^/(api|export) {
}
}