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

支持相对路径,可以通过反向代理请求 #26

Open
liuhao86 opened this issue Mar 20, 2023 · 1 comment
Open

支持相对路径,可以通过反向代理请求 #26

liuhao86 opened this issue Mar 20, 2023 · 1 comment

Comments

@liuhao86
Copy link

目前静态资源,接口地址等信息均使用了绝对路径,当部署在nas中通过nginx反向代理配置访问的相对路径时,如a.b.c/huntly/index.html时,资源文件中包含多个/开头的绝对路径,会直接映射到a.b.c/index.html, 需要做大量的subfilter,能否支持前后端分离,前端使用相对路径。

@HiganFish
Copy link

HiganFish commented Mar 21, 2023

同需 只能暂时先用nginx的/目录了,等后面支持了再换成子目录。 本来想自己改下,结果去docker里没有搜索到相关的文件,只能先这样用了。

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

2 participants