From 3cde573afdca94ebfffa8f301ff70ac1b387403f Mon Sep 17 00:00:00 2001 From: yurymuski Date: Sun, 3 Sep 2023 23:00:59 +0400 Subject: [PATCH] upd CI, and readme --- Dockerfile | 3 +++ README.md | 8 +++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2d8b3c8..f4fb46f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -71,6 +71,9 @@ RUN curl -O https://nginx.org/download/nginx-$NGINX_VERSION.tar.gz && \ FROM debian:12-slim +RUN apt-get update && \ + DEBIAN_FRONTEND=noninteractive apt-get install -y libpcre3 libbrotli1 + COPY --from=builder /usr/sbin/nginx /usr/sbin/ COPY --from=builder /etc/nginx/ /etc/nginx/ diff --git a/README.md b/README.md index 1bd16e5..a904c94 100644 --- a/README.md +++ b/README.md @@ -3,11 +3,9 @@ Nginx compiled with *BoringSSL* and *quiche* for *HTTP3* support, *Brotli* suppo ## version -nginx version: nginx/1.19.6 (quiche-ad9d933) +nginx version: nginx/1.16.1 (quiche-28ef289f) quiche 0.18.0 -Based on ubuntu:20.04, size 109MB - Link for [quiche + nginx manual](https://github.com/cloudflare/quiche/tree/master/nginx) ### usage @@ -25,9 +23,9 @@ docker run -it --rm --name certbot \ - create nginx.conf like in example -`docker run --name nginx -d -p 80:80 -p 443:443/tcp -p 443:443/udp -v ${PWD}/temp/letsencrypt/:/opt/nginx/certs/ -v ${PWD}/nginx.conf:/etc/nginx/nginx.conf ymuski/nginx-quic` +`docker run --name nginx -d -p 80:80 -p 443:443/tcp -p 443:443/udp -v ${PWD}/temp/letsencrypt/:/opt/nginx/certs/ -v ${PWD}/nginx.conf:/etc/nginx/nginx.conf ymuski/nginx-http3` -`docker run --name nginx -d -p 80:80 -p 443:443/tcp -p 443:443/udp -v /etc/letsencrypt/:/opt/nginx/certs/ -v /opt/nginx/conf/example.nginx.conf:/etc/nginx/nginx.conf ymuski/nginx-quic` +`docker run --name nginx -d -p 80:80 -p 443:443/tcp -p 443:443/udp -v /etc/letsencrypt/:/opt/nginx/certs/ -v /opt/nginx/conf/example.nginx.conf:/etc/nginx/nginx.conf ymuski/nginx-http3` ### Checking