oddfar / campus-imaotai

i茅台app自动预约,每日自动预约,支持docker一键部署(本项目不提供成品,使用的是已淘汰的算法)
https://oddfar.github.io/campus-doc/campus-imaotai
Apache License 2.0
4.11k stars 1.35k forks source link

404接口错误搭建好了后 #334

Closed Clove-MJC closed 7 months ago

Clove-MJC commented 7 months ago

image

kratosmy commented 7 months ago

同,/prod-api/captchaImage 404

fbotp commented 7 months ago

LeiDuang commented 7 months ago

后端页面是否显示正常,如果后端正常就是前端配置后端路径错误,前端访问不了后端

k8scat commented 7 months ago

参考 #203

big-kota commented 7 months ago

参考这个方案 https://github.com/oddfar/campus-imaotai/issues/118#issuecomment-2024395895

timhaiz commented 3 months ago

之前遇到同样的问题 看一下站点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/; }