mirror of
https://github.com/Sagit-chu/flvx.git
synced 2026-10-07 02:06:38 +08:00
x修复反代
This commit is contained in:
@@ -63,6 +63,23 @@ http {
|
|||||||
proxy_pass http://backend:6365/api/v1/;
|
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
|
# WebSocket代理 - system-info
|
||||||
location /system-info {
|
location /system-info {
|
||||||
proxy_pass http://backend:6365/system-info;
|
proxy_pass http://backend:6365/system-info;
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ export type SiteConfig = typeof siteConfig;
|
|||||||
|
|
||||||
// 缓存相关常量
|
// 缓存相关常量
|
||||||
const CACHE_PREFIX = 'vite_config_';
|
const CACHE_PREFIX = 'vite_config_';
|
||||||
const VERSION = "1.3.5";
|
const VERSION = "1.4.0";
|
||||||
const APP_VERSION = "1.0.3";
|
const APP_VERSION = "1.0.3";
|
||||||
|
|
||||||
const getInitialConfig = () => {
|
const getInitialConfig = () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user