12345678910111213141516171819202122232425 |
- location /change {
- proxy_pass http://192.168.0.47:8088;
- }
- location /api/* {
- proxy_pass http://192.168.0.47:8088;
- }
- location ~*.json {
- proxy_pass http://192.168.0.47:8088;
- }
- location /importData {
- proxy_pass http://192.168.0.47:8088;
- }
- location static/json {
- proxy_pass http://192.168.0.47:8088;
- }
- # var apiProxy = proxy("http://192.168.0.47:8088", opts)
- # app.use("/change",proxy("http://192.168.0.47:8088", opts));
- # app.use("/api/*",proxy("http://192.168.0.47:8088", opts));
- # app.use("*.json",proxy("http://192.168.0.47:8088", opts));
- # app.use('importData', proxy("http://192.168.0.47:8088", opts))
- # app.use('static/json', proxy("http://192.168.0.47:8088", opts))
|