@
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