pro3.0 pc端獨立部署站點配置文件報錯,是加錯位置了嗎?
換了這個就不報錯了~ \ ,我這么改有效嗎?
#vue-router配置
location ~ \ {
try_files $uri $uri/ @router;
index index.html;
}
location @router {
rewrite ^.*$ /index.html last;
}
pro3.0 pc端獨立部署站點配置文件報錯,是加錯位置了嗎?
換了這個就不報錯了~ \ ,我這么改有效嗎?
#vue-router配置
location ~ \ {
try_files $uri $uri/ @router;
index index.html;
}
location @router {
rewrite ^.*$ /index.html last;
}
浪跡江湖 最后編輯于2024-03-08 12:27:36
{{item.user_info.nickname ? item.user_info.nickname : item.user_name}} LV.{{ item.user_info.bbs_level }}
作者 管理員 企業
{{itemf.name}}
{{itemc.user_info.nickname}}
{{itemc.user_name}}
回復 {{itemc.comment_user_info.nickname}}{{itemf.name}}
相關推薦
快速安全登錄
微信登錄/注冊
{{ bind_phone ? '綁定手機' : '手機登錄'}}