-
Notifications
You must be signed in to change notification settings - Fork 568
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
[Feature] 反代二级目录的显示异常 #518
Comments
|
加上这个变量后,只能让首页显示正常了,但是一点登录就跳转到域名首页去了,后续的页面也不能正常跳转 |
+1 希望支持该功能 |
目前大多数可以自建的开源项目都会考虑baseurl的问题,但是根据技术栈的情况,有时候实现起来简单,有时候困难 不管如何还是很期待该功能的 |
本年度开展框架功能重构,由于个人精力有限,请耐心等待 |
我自己用caddy做了一点hack, 供需要的人参考
二级目录/子路径为 /qd |
Verify steps
Describe the Feature
将网站反代到二级目录下,例如
https://www.com/qd 这种二级目录下时,页面由于静态资源路径的问题显示异常。只能反代二级域名,例如 https://qd.www.com/, 但实际中为了减少dns解析设置,第一种的需求还是挺重要的,希望考虑可以支持
Describe the solution
我查找了既有issue, 有人提到通过设置 base_url,但实际中这似乎并没有起作用,所以还是希望可以考虑支持。
Describe alternatives
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: