Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Clove-MJC opened this issue Mar 22, 2024 · 6 comments
Closed

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

Clove-MJC opened this issue Mar 22, 2024 · 6 comments

Comments

@Clove-MJC
Copy link

image

@kratosmy
Copy link

同,/prod-api/captchaImage 404

@fbotp
Copy link

fbotp commented Mar 25, 2024

@LeiDuang
Copy link

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

@k8scat
Copy link
Contributor

k8scat commented Mar 27, 2024

参考 #203

@big-kota
Copy link

参考这个方案
#118 (comment)

@oddfar oddfar closed this as completed Apr 9, 2024
@timhaiz
Copy link

timhaiz commented Aug 5, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants