hanssx

hanssx

V2EX 第 350569 号会员,加入于 2018-09-19 11:30:43 +08:00
今日活跃度排名 20523
根据 hanssx 的设置,主题列表被隐藏
二手交易 相关的信息,包括已关闭的交易,不会被隐藏
hanssx 最近回复了
@adoal 确实理解有误+英文理解有误,引用“CONNECT 命令,指导 nginx 建立 tcp 连接”,这个受教了,应该是从 7 层的 Host 提取出来去连接的。
@lovelylain 那感觉文档说得有歧义。。

引用文档:
This directive specifies a list of port numbers or ranges to which the proxy CONNECT method may connect.
By default, only the default https port (443) and the default snews port (563) are enabled.
Using this directive will override this default and allow connections to the listed ports only.

The value all will allow all ports to proxy.

The value port will allow specified port to proxy.

The value port-range will allow specified range of port to proxy, for example:


引用里面的一句话:the proxy CONNECT method may connect.

CONNECT 其实只在 client->nginx proxy 这个环节吧? nginx proxy->server 应该是 tcp 连接,那这里面所说的 CONNECT 方法可能连接的端口,那不就是表明 nginx proxy 嘛 /捂脸

---------------------
另外,话说有办法限制 nginx proxy 代理出网的端口吗,也就是限制 OUTPUT --sport=3000
15 天前
回复了 ideacco 创建的主题 程序员 外贸团队求一个梯子方案
@aosan926 请教一下什么工程?
关于   ·   帮助文档   ·   博客   ·   nftychat   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   800 人在线   最高记录 5634   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 14ms · UTC 21:31 · PVG 05:31 · LAX 14:31 · JFK 17:31
Developed with CodeLauncher
♥ Do have faith in what you're doing.