forked from github/dataease
perf: 前后分离部署不能使用公共链接
This commit is contained in:
parent
c2409e5521
commit
439c10276c
@ -6,5 +6,24 @@ ENV = 'staging'
|
||||
# base api
|
||||
VUE_APP_BASE_API = '/de-api/'
|
||||
|
||||
VUE_CONTEXT_PATH = 'de-api/'
|
||||
VUE_CONTEXT_PATH = '/'
|
||||
|
||||
#for nginx conf
|
||||
#location / {
|
||||
# root /Users/admin/Downloads/dist/;
|
||||
# index index.html index.htm;
|
||||
#}
|
||||
#location ~* \.(html|htm)$ {
|
||||
# if ($uri = '/de-api/link.html') {
|
||||
# rewrite ^/de-api/(.*)$ /$1 redirect;
|
||||
# }
|
||||
# root /Users/admin/Downloads/dist/;
|
||||
#}
|
||||
#location /de-api/ {
|
||||
# #rewrite ^/de-api/#/(.*)$ /$1 break;
|
||||
# proxy_pass http://localhost:8081/de-api/;
|
||||
# proxy_set_header X-Real-IP $remote_addr;
|
||||
# server_name_in_redirect on;
|
||||
#}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user