From 4c8b238ddf2424f82ac64f60443f148ba93fb1df Mon Sep 17 00:00:00 2001 From: naaturel <58115082+naaturel@users.noreply.github.com> Date: Wed, 23 Oct 2024 23:15:26 +0100 Subject: [PATCH] Docker composer is working fine --- compose.yaml | 4 ++-- nginx/Dockerfile | 2 +- nginx/unluckiest_443 | 2 ++ 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/compose.yaml b/compose.yaml index 16e22cd..8d5037b 100644 --- a/compose.yaml +++ b/compose.yaml @@ -61,8 +61,8 @@ services: - "80:80" - "443:443" volumes: - - /etc/letsencrypt/live/unluckiest.naaturel.be/:/etc/ssl/certs + - ./ssl/:/etc/ssl/ networks: - unluckiest_network depends_on: - - webapp \ No newline at end of file + - webapp diff --git a/nginx/Dockerfile b/nginx/Dockerfile index 54aec43..da435c1 100644 --- a/nginx/Dockerfile +++ b/nginx/Dockerfile @@ -2,4 +2,4 @@ FROM nginx:alpine COPY unluckiest_443 /etc/nginx/conf.d/default.conf -CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file +CMD ["nginx", "-g", "daemon off;"] diff --git a/nginx/unluckiest_443 b/nginx/unluckiest_443 index 455dd86..d9ab59a 100644 --- a/nginx/unluckiest_443 +++ b/nginx/unluckiest_443 @@ -12,6 +12,8 @@ server { ssl_certificate /etc/ssl/certs/fullchain.pem; ssl_certificate_key /etc/ssl/certs/privkey.pem; + include /etc/ssl/conf/options-ssl-nginx.conf; + ssl_dhparam /etc/ssl/conf/ssl-dhparams.pem; location / { proxy_pass http://webapp:3000;