Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

如何反代时隐藏二级目录 #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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants