404接口错误搭建好了后
Closed this issue · 6 comments
Clove-MJC commented
kratosmy commented
同,/prod-api/captchaImage 404
fbotp commented
同
LeiDuang commented
后端页面是否显示正常,如果后端正常就是前端配置后端路径错误,前端访问不了后端
big-kota commented
参考这个方案
#118 (comment)
timhaiz commented
之前遇到同样的问题
看一下站点nginx配置文件有没有以下内容
location /prod-api/ {
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header REMOTE-HOST $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_X_forwarded_for;
proxy_pass http://localhost:8160/;
}