nginx
This commit is contained in:
parent
f6f788a8bc
commit
4d98830006
|
@ -4,7 +4,7 @@ ENV = 'production'
|
||||||
# base api url
|
# base api url
|
||||||
# VITE_BASE_API_URL = 'https://nest-api.buqiyuan.site'
|
# VITE_BASE_API_URL = 'https://nest-api.buqiyuan.site'
|
||||||
# VITE_BASE_API_URL = 'http://123.249.107.55'
|
# VITE_BASE_API_URL = 'http://123.249.107.55'
|
||||||
VITE_BASE_API_URL = 'http://localhost:8001'
|
VITE_BASE_API_URL = 'http://localhost:3001'
|
||||||
|
|
||||||
# 公共基础路径, 所有资源的路径都将据此配置重写。
|
# 公共基础路径, 所有资源的路径都将据此配置重写。
|
||||||
VITE_BASE_URL = /api
|
VITE_BASE_URL = /api
|
||||||
|
|
|
@ -34,7 +34,7 @@ http {
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 3001;
|
listen 3001;
|
||||||
server_name 144.123.43.138;
|
server_name localhost;
|
||||||
absolute_redirect off; #取消绝对路径的重定向
|
absolute_redirect off; #取消绝对路径的重定向
|
||||||
sendfile on;
|
sendfile on;
|
||||||
default_type application/octet-stream;
|
default_type application/octet-stream;
|
||||||
|
|
Loading…
Reference in New Issue