Skip to content

Commit

Permalink
brand nginx as NPMplus
Browse files Browse the repository at this point in the history
Signed-off-by: Zoey <[email protected]>
  • Loading branch information
Zoey2936 authored Oct 13, 2023
1 parent 8c0b8f1 commit 5d8a7e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ RUN wget https://nginx.org/download/nginx-"$NGINX_VER".tar.gz -O - | tar xzC /sr
mv /src/nginx-"$NGINX_VER" /src/nginx && \
wget https://raw.githubusercontent.com/nginx-modules/ngx_http_tls_dyn_size/master/nginx__dynamic_tls_records_1.25.1%2B.patch -O /src/nginx/1.patch && \
wget https://raw.githubusercontent.com/openresty/openresty/master/patches/nginx-1.23.0-resolver_conf_parsing.patch -O /src/nginx/2.patch && \
# sed -i "s|nginx/|nginx-quic/|g" /src/nginx/src/core/nginx.h && \
# sed -i "s|Server: nginx|Server: nginx-quic|g" /src/nginx/src/http/ngx_http_header_filter_module.c && \
# sed -i "s|<hr><center>nginx</center>|<hr><center>nginx-quic</center>|g" /src/nginx/src/http/ngx_http_special_response.c && \
sed -i "s|nginx/|NPMplus/|g" /src/nginx/src/core/nginx.h && \
sed -i "s|Server: nginx|Server: NPMplus|g" /src/nginx/src/http/ngx_http_header_filter_module.c && \
sed -i "s|<hr><center>nginx</center>|<hr><center>NPMplus</center>|g" /src/nginx/src/http/ngx_http_special_response.c && \
cd /src/nginx && \
patch -p1 </src/nginx/1.patch && \
patch -p1 </src/nginx/2.patch && \
Expand Down

0 comments on commit 5d8a7e3

Please sign in to comment.