Skip to content

Commit

Permalink
Revert "🚩 Enable HTTP/3 in NGINX"
Browse files Browse the repository at this point in the history
This reverts commit 0a884ae.
  • Loading branch information
kierandrewett committed Dec 6, 2023
1 parent 47ca4a4 commit 03c4337
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 17 deletions.
6 changes: 0 additions & 6 deletions docker/config/sites/www.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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 _;

Expand Down
6 changes: 1 addition & 5 deletions docker/config/ssl.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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';
ssl_stapling_verify on;
5 changes: 2 additions & 3 deletions docker/nginx.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
FROM macbre/nginx-http3:latest
FROM nginx:alpine

COPY nginx-entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/bin/sh", "entrypoint.sh"]
RUN curl https://ssl-config.mozilla.org/ffdhe2048.txt > /etc/ssl/dhparam.pem
3 changes: 0 additions & 3 deletions docker/www.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 03c4337

Please sign in to comment.