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

upstream.properties中配置的是需要反向代理的目标机 #5

Closed
krisjin opened this issue Apr 8, 2018 · 1 comment
Closed

Comments

@krisjin
Copy link

krisjin commented Apr 8, 2018

请问这个真没怎么使用,启动后怎样访问,http://localhost:9090/https://www.baidu.com 这样访问对吗

@chengdedeng
Copy link
Owner

不对,upstream的配置跟Nginx upstream的概念是一样的,upstream一般指向的内部服务器。你的目的是想要一个HTTP代理,但是由于百度开启了HTTPS,所以这就有中间人劫持的概念了,这就需要开启waf的mitm配置,这个时候就不能开启waf.tls和waf.proxy.lb。

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