Nginx 代理连接模块错误: 'ngx_http_request_t' 没有成员 'connect_port_n'
这个错误是因为 ngx_http_request_t 结构体中没有 connect_port_n 成员导致的。可能是 ngx_http_proxy_connect_module.c 中的代码版本不兼容当前使用的 Nginx 版本。
解决方法是使用与当前 Nginx 版本兼容的 ngx_http_proxy_connect_module.c 文件,或者升级 Nginx 版本使其与当前的 ngx_http_proxy_connect_module.c 文件兼容。
原文地址: https://www.cveoy.top/t/topic/j6cb 著作权归作者所有。请勿转载和采集!