We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e6732e commit 7ff639aCopy full SHA for 7ff639a
.env.production
@@ -1,2 +1,2 @@
1
# 机器学习模块接口地址
2
-VITE_MACHINELEARNING_URL="http://8.135.49.240:8081"
+# VITE_MACHINELEARNING_URL="http://8.135.49.240:8081"
.env.staging
# 机器学习模块接口地址,公司测试环境
-VITE_MACHINELEARNING_URL="http://172.16.1.192:8080"
+# VITE_MACHINELEARNING_URL="http://172.16.1.192:8080"
default.conf
@@ -8,6 +8,10 @@ server {
8
try_files $uri $uri/ /index.html =404;
9
}
10
11
+ location /ml/ {
12
+ proxy_pass http://172.16.1.192:8080/;
13
+ }
14
+
15
error_page 500 502 503 504 /50x.html;
16
location = /50x.html {
17
root html;
0 commit comments