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

子路径支持 #33

Open
Cat7373 opened this issue Sep 26, 2019 · 3 comments
Open

子路径支持 #33

Cat7373 opened this issue Sep 26, 2019 · 3 comments

Comments

@Cat7373
Copy link

Cat7373 commented Sep 26, 2019

如现有域名 foo.com,正跑着一个非常正常的网站,这时我希望加一个路径:foo.com/bustag 可以代理到 docker 中的 8000 端口,目前的代码并不支持这种操作,建议支持一下

@gxtrobot
Copy link
Owner

你这个可以使用nginx做个转发把, 和应用本身没啥关系啊

@Cat7373
Copy link
Author

Cat7373 commented Sep 27, 2019

转发一下你就会发现,资源全都乱掉了,因为资源似乎写死了从根路径加载

@gxtrobot
Copy link
Owner

我回头看看

不过一般这种情况,可以挂一个子域名啊

比如bustag.foo.com

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