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

部署后找不到静态文件 #973

Open
jacks-bw opened this issue Aug 9, 2024 · 0 comments
Open

部署后找不到静态文件 #973

jacks-bw opened this issue Aug 9, 2024 · 0 comments

Comments

@jacks-bw
Copy link

jacks-bw commented Aug 9, 2024

请按照一下格式提交issue,谢谢!

  1. 你当前使用的是哪个版本的 MinDoc(godoc_linux_amd64 version)?
    V2.1 mindoc_linux_musl_amd64.zip

  2. 你当前使用的是什么操作系统?
    CentOS 7

  3. 你是如何操作的?
    使用宝塔面板部署(如图):
    image
    然后再新建了一个前端页面的空项目进行反代设置:
    image
    image
    我直接使用ip+端口的形式配置

  4. 你期望得到什么结果?
    页面正常访问

  5. 当前遇到的是什么结果?
    页面访问时无法找到静态文件, css,js等报404, 以及地址栏里的地址会变成这样: http://我的IP:端口/login?url=http:%2F%2F47.104.104.132:8182%2F

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

1 participant