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

这种情况怎么配置, 两个前端服务访问同一个域名, 不同端口 #1009

Open
mxy2316868975javascript opened this issue Nov 10, 2023 · 4 comments

Comments

@mxy2316868975javascript
Copy link

mxy2316868975javascript commented Nov 10, 2023

两个前端服务访问同一个域名, 不同端口

a.qbc.com/page1.html localhost:3000
a.qbc.com/page2.html localhost:3001

@avwo
Copy link
Owner

avwo commented Nov 10, 2023

你这样配置就可以

@mxy2316868975javascript
Copy link
Author

你这样配置就可以

这样配置代理不成功

@avwo
Copy link
Owner

avwo commented Nov 11, 2023

检查下规则有没有错别字

@avwo
Copy link
Owner

avwo commented Dec 8, 2023

页面内部请求可以通过 includeFilter://reqH.referer=page1.html 做过滤

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