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;