This commit is contained in:
parent
88b23fce6a
commit
cb7d1adc95
@ -2,7 +2,7 @@
|
||||
VITE_PUBLIC_PATH = '/'
|
||||
|
||||
# 是否启用MOCK
|
||||
VITE_USE_MOCK = true
|
||||
VITE_USE_MOCK = false
|
||||
|
||||
# base api
|
||||
VITE_BASE_API = '/api'
|
||||
|
@ -14,7 +14,7 @@ server {
|
||||
|
||||
# 若新增后端路由前缀注意在此处添加(|新增)
|
||||
location ^~ /api/ {
|
||||
proxy_pass http://wireguard-srv:6687/;
|
||||
proxy_pass http://wireguard-srv:6687;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
|
Loading…
Reference in New Issue
Block a user