ngx_http_proxy_connect_module icon indicating copy to clipboard operation
ngx_http_proxy_connect_module copied to clipboard

patch: **** Only garbage was found in the patch input

Open wangquansh opened this issue 2 years ago • 2 comments

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

wangquansh avatar Apr 09 '22 07:04 wangquansh

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...

szbinks avatar May 04 '22 12:05 szbinks

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

Hightmar avatar Jun 16 '22 18:06 Hightmar

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

chobits avatar Aug 17 '22 02:08 chobits