Skip to content

Commit

Permalink
feat(docker/nginx): use custom dhparams
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle Clemens committed Jul 14, 2018
1 parent 37a082c commit 5e0fdd7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ services:
volumes:
- "../:/paste"
nginx:
image: nginx:alpine
build: nginx
restart: unless-stopped
depends_on:
- backend
Expand Down
5 changes: 5 additions & 0 deletions .docker/nginx/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM nginx:alpine

RUN apk add --no-cache openssl

RUN openssl dhparam -dsaparam -out /etc/ssl/dhparam.pem 4096

0 comments on commit 5e0fdd7

Please sign in to comment.