proxy.conf 693 B

12345678910111213141516171819202122232425
  1. location /change {
  2. proxy_pass http://192.168.0.47:8088;
  3. }
  4. location /api/* {
  5. proxy_pass http://192.168.0.47:8088;
  6. }
  7. location ~*.json {
  8. proxy_pass http://192.168.0.47:8088;
  9. }
  10. location /importData {
  11. proxy_pass http://192.168.0.47:8088;
  12. }
  13. location static/json {
  14. proxy_pass http://192.168.0.47:8088;
  15. }
  16. # var apiProxy = proxy("http://192.168.0.47:8088", opts)
  17. # app.use("/change",proxy("http://192.168.0.47:8088", opts));
  18. # app.use("/api/*",proxy("http://192.168.0.47:8088", opts));
  19. # app.use("*.json",proxy("http://192.168.0.47:8088", opts));
  20. # app.use('importData', proxy("http://192.168.0.47:8088", opts))
  21. # app.use('static/json', proxy("http://192.168.0.47:8088", opts))