Browse Source

更改配置

zhoutao 5 năm trước cách đây
mục cha
commit
edf3ec7a65
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 1 1
      default.conf
  2. 1 1
      vue.config.js

+ 1 - 1
default.conf

@@ -13,7 +13,7 @@ server {
     gzip_types text/plain text/xml text/css;
     gzip_vary on;
     gzip_disable "MSIE [1-6]\.(?!.*SV1)";
-    location ~* ^/(actuator|code|auth|admin|gen|daemon|tx|act|monitor|mp|job|pay) {
+    location ~* ^/(actuator|code|auth|admin|gen|daemon|tx|act|monitor|mp|job|pay|inventory) {
        proxy_pass http://192.168.20.56:9999;
        #proxy_set_header Host $http_host;
        proxy_connect_timeout 15s;

+ 1 - 1
vue.config.js

@@ -2,7 +2,7 @@
  * 配置参考:
  * https://cli.vuejs.org/zh/config/
  */
-const url = 'http://192.168.20.56:9999'
+const url = 'http://pigx-gateway:9999'
 module.exports = {
   lintOnSave: true,
   productionSourceMap: false,