Skip to content

Commit 2b63fa7

Browse files
committed
nginx-ssl-ja3: patches and README
1 parent 41dc454 commit 2b63fa7

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,23 @@ the patch is already applied. Check the Dockerfile of the dev image.
8181
Build as a common nginx module.
8282

8383
```bash
84+
85+
# Hack/patch nginx
86+
87+
$ patch -p1 < /build/ngx_ssl_ja3/patches/latest.patch
88+
89+
patching file src/event/ngx_event_openssl.c
90+
Hunk #1 succeeded at 1358 (offset 137 lines).
91+
Hunk #2 succeeded at 1426 (offset 143 lines).
92+
patching file src/event/ngx_event_openssl.h
93+
Hunk #1 succeeded at 99 (offset 1 line).
94+
95+
# Configure
96+
8497
$ ./configure --add-module=/build/ngx_ssl_ja3 --with-http_ssl_module --with-stream_ssl_module --with-debug --with-stream
98+
99+
# Install
100+
85101
$ make && make install
86102

87103
```

patches/latest.patch

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../docker/debian-nginx-ssl-ja3/nginx.1.15.9.ssl.extensions.patch

0 commit comments

Comments
 (0)