x修复反代

This commit is contained in:
qaq
2025-09-26 19:34:11 +08:00
parent d09183270f
commit 4754fc03a7
2 changed files with 18 additions and 1 deletions
+17
View File
@@ -63,6 +63,23 @@ http {
proxy_pass http://backend:6365/api/v1/;
}
# 流量与配置上报接口反向代理
location /flow/upload {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://backend:6365/flow/upload;
}
location /flow/config {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://backend:6365/flow/config;
}
# WebSocket代理 - system-info
location /system-info {
proxy_pass http://backend:6365/system-info;
+1 -1
View File
@@ -4,7 +4,7 @@ export type SiteConfig = typeof siteConfig;
// 缓存相关常量
const CACHE_PREFIX = 'vite_config_';
const VERSION = "1.3.5";
const VERSION = "1.4.0";
const APP_VERSION = "1.0.3";
const getInitialConfig = () => {