diff --git a/certificates/README.md b/certificates/README.md index 5d78e3d..f50a1fd 100644 --- a/certificates/README.md +++ b/certificates/README.md @@ -1 +1 @@ -Add your dhparam.pem file here. \ No newline at end of file +Add your `dhparam.pem`, `cert.crt` and `key.key` files here. \ No newline at end of file diff --git a/certificates/certs/README.md b/certificates/certs/README.md deleted file mode 100644 index dc7405c..0000000 --- a/certificates/certs/README.md +++ /dev/null @@ -1 +0,0 @@ -Add your *.crt files here. \ No newline at end of file diff --git a/certificates/private/README.md b/certificates/private/README.md deleted file mode 100644 index 57f93c1..0000000 --- a/certificates/private/README.md +++ /dev/null @@ -1 +0,0 @@ -Add your *.key files here. \ No newline at end of file diff --git a/docker-compose.nginx.yaml b/docker-compose.nginx.yaml index eff0b6b..9ce20a2 100644 --- a/docker-compose.nginx.yaml +++ b/docker-compose.nginx.yaml @@ -13,8 +13,8 @@ services: volumes: - ./nginx-docker/configs/:/etc/nginx/ - ./nginx-docker/templates/:/etc/nginx/templates/ - - ./certificates/certs/:/etc/ssl/certs/ - - ./certificates/private/:/etc/ssl/private/ + - ./certificates/cert.crt:/etc/ssl/certs/cert.crt + - ./certificates/key.key:/etc/ssl/private/key.key - ./certificates/dhparam.pem:/etc/nginx/dhparam.pem ports: - "80:80" diff --git a/docker-compose.traefik.yaml b/docker-compose.traefik.yaml index a60956c..151bd6f 100644 --- a/docker-compose.traefik.yaml +++ b/docker-compose.traefik.yaml @@ -25,8 +25,8 @@ services: volumes: - ./nginx-docker/configs/:/etc/nginx/ - ./nginx-docker/templates/:/etc/nginx/templates/ - - ./certificates/certs/:/etc/ssl/certs/ - - ./certificates/private/:/etc/ssl/private/ + - ./certificates/cert.crt:/etc/ssl/certs/cert.crt + - ./certificates/key.key:/etc/ssl/private/key.key - ./certificates/dhparam.pem:/etc/nginx/dhparam.pem expose: - 853 @@ -68,8 +68,8 @@ services: - /var/run/docker.sock:/var/run/docker.sock - ./traefik-docker/configs/:/etc/traefik/ - ./traefik-docker/shared/:/shared/:ro - - ./certificates/certs:/etc/ssl/certs/ - - ./certificates/private/:/etc/ssl/private/ + - ./certificates/cert.crt:/etc/ssl/certs/cert.crt + - ./certificates/key.key:/etc/ssl/private/key.key ports: - "80:80" - "443:443"