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

如何反代时隐藏二级目录 #70

Open
wolfling45 opened this issue Dec 26, 2020 · 3 comments
Open

如何反代时隐藏二级目录 #70

wolfling45 opened this issue Dec 26, 2020 · 3 comments

Comments

@wolfling45
Copy link

你安装的TeaWeb版本:0.1.12

你的操作系统:debian

你的问题简介:

问题详细描述:
就是想实现后端是http://www.yyyyyy.com:8888/test.前端是http://www.xxx.com/,但是前端不显示/test。如何设置?nginx里貌似可以用proxy pass实现。

@iwind
Copy link
Collaborator

iwind commented Dec 27, 2020

后端服务器 -- “请求URI" 里改成 "/test${requestURI}"

@wolfling45
Copy link
Author

多谢回复,但我这样设置了以后,提示 将您重定向的次数过多,我再研究一下

@iwind
Copy link
Collaborator

iwind commented Dec 27, 2020

你是不是加了重写规则了?

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