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) {
}
}