diff --git a/docker/config/sites/www.conf b/docker/config/sites/www.conf index 850b135..68f152f 100644 --- a/docker/config/sites/www.conf +++ b/docker/config/sites/www.conf @@ -21,14 +21,8 @@ server { } server { - # HTTP/3 - listen 443 quic reuseport; - listen [::]:443 quic reuseport; - - # HTTP/2 and HTTP/1.1 listen 443 ssl; listen [::]:443 ssl; - http2 on; server_name _; diff --git a/docker/config/ssl.conf b/docker/config/ssl.conf index 663d310..5459271 100644 --- a/docker/config/ssl.conf +++ b/docker/config/ssl.conf @@ -14,8 +14,4 @@ ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDS ssl_prefer_server_ciphers off; ssl_stapling on; -ssl_stapling_verify on; - -ssl_early_data on; - -add_header alt-svc 'h3=":443"; ma=86400'; \ No newline at end of file +ssl_stapling_verify on; \ No newline at end of file diff --git a/docker/nginx.dockerfile b/docker/nginx.dockerfile index 0be73ca..9bfa34f 100644 --- a/docker/nginx.dockerfile +++ b/docker/nginx.dockerfile @@ -1,4 +1,3 @@ -FROM macbre/nginx-http3:latest +FROM nginx:alpine -COPY nginx-entrypoint.sh /entrypoint.sh -ENTRYPOINT ["/bin/sh", "entrypoint.sh"] \ No newline at end of file +RUN curl https://ssl-config.mozilla.org/ffdhe2048.txt > /etc/ssl/dhparam.pem diff --git a/docker/www.dockerfile b/docker/www.dockerfile index 53bc4d5..26af4db 100644 --- a/docker/www.dockerfile +++ b/docker/www.dockerfile @@ -9,7 +9,4 @@ RUN apk add git RUN npm install RUN npm run build -HEALTHCHECK --interval=5m --timeout=3s \ - CMD curl -f http://localhost/ || exit 1 - ENTRYPOINT ["node", ".scalar/main.js"] \ No newline at end of file