Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
3.4k views
in Technique[技术] by (71.8m points)

如何让nginx转发的流量走代理呢?

如何设置nginx反向代理的请求使用另一个正向代理访问?
例如我想把https://www.baidu.com反向代理到https://localhost
但由于网络环境限制,只有使用公司内的一个正向代理服务器(http://10.10.10.10:9000)才能访问外网。
有没有什么办法可以让nginx转发的流量走公司的代理呢?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...