From 23f424b839a928db372609b7a301f6a29d9767b0 Mon Sep 17 00:00:00 2001 From: yurymuski Date: Mon, 4 Sep 2023 01:03:07 +0400 Subject: [PATCH] add --with-debug --- Dockerfile | 1 + README.md | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b182099..126d12e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -61,6 +61,7 @@ RUN curl -O https://nginx.org/download/nginx-$NGINX_VERSION.tar.gz && \ --with-stream_realip_module \ --with-stream_ssl_module \ --with-stream_ssl_preread_module \ + --with-debug --add-module=/opt/ngx_brotli \ --with-http_v3_module \ --with-openssl=/opt/quiche/quiche/deps/boringssl \ diff --git a/README.md b/README.md index 7f009ee..0b730ac 100644 --- a/README.md +++ b/README.md @@ -24,8 +24,8 @@ docker run -it --rm --name certbot \ - create nginx.conf like in example ```sh -# NOTE: --priviliged needed for setsockopt(SO_TXTIME) access -docker run --name nginx --priviliged -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 +# NOTE: --privileged needed for setsockopt(SO_TXTIME) access +docker run --name nginx --privileged -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 ```