|
|
@ -1,5 +1,7 @@
|
|
|
|
:8300, localhost {
|
|
|
|
:8300, localhost {
|
|
|
|
root * /data/dist
|
|
|
|
root * /data/dist
|
|
|
|
|
|
|
|
# Vue Router history模式,避免刷新后404页面;字符中间不可有空格
|
|
|
|
|
|
|
|
try_files {path} /index.html
|
|
|
|
handle_path /stage-api/* {
|
|
|
|
handle_path /stage-api/* {
|
|
|
|
|
|
|
|
|
|
|
|
uri strip_prefix /stage-api
|
|
|
|
uri strip_prefix /stage-api
|
|
|
|