ngx_http_proxy_connect_module
ngx_http_proxy_connect_module copied to clipboard
patch: **** Only garbage was found in the patch input
patch -p1 < proxy_connect_rewrite_1018.patch patch: **** Only garbage was found in the patch input.
GNU patch 2.7.1
CentOS Linux release 7.9.2009
nginx-1.20.1
./configure --add-module=ngx_http_proxy_connect_module
adding module in ngx_http_proxy_connect_module ./configure: error: no ngx_http_proxy_connect_module/config was found
Check if your file is the same as the original. I had this error when i did wget "url/to/the/patch" because it downloaded the html page and not the file...
Download patch with
wget https://raw.githubusercontent.com/chobits/ngx_http_proxy_connect_module/master/patch/proxy_connect_rewrite_1018.patch
I bet you downloaded the web page and not the code
hi @Hightmar
Check if your file is the same as the original. I had this error when i did wget "url/to/the/patch" because it downloaded the html page and not the file...
Also note that all patch files have been included in patch/
directory of this module.
DESKTOP-CQEO1JN work $ cd ./ngx_http_proxy_connect_module/
DESKTOP-CQEO1JN ngx_http_proxy_connect_module $ ls patch/
proxy_connect_1014.patch proxy_connect_rewrite_1014.patch proxy_connect_rewrite_1015.patch proxy_connect_rewrite_102101.patch
proxy_connect.patch proxy_connect_rewrite_101504.patch proxy_connect_rewrite_1018.patch proxy_connect_rewrite.patch