浏览代码

更改配置

zhoutao 5 年之前
父节点
当前提交
edf3ec7a65
共有 2 个文件被更改,包括 2 次插入2 次删除
  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,