启动vue项目验证码未显示错误
启动项目前段连接处报错
[pre]
Request URL: http://localhost:8002/proxyApi//sys/login
Request Method: POST
Status Code: 504 Gateway Timeout
Remote Address: 127.0.0.1:8002
Referrer Policy: no-referrer-when-downgrade
[/pre]
nginx中跳转前段utl地址的配置,启动nginx
[pre]
server {
listen 80;
server_name localhost;
location / {
root D:\IDEAprioject\renren-vue\renren-fast-vue; index index.html index.htm;
} }
# 启动Nginx后,访问如下路径即可 http://localhost
}
[/pre]
提问 nginx中html跳转失败的原因是什么呢
-
2019-11-04
前端别使用代理了