1
0
Fork 0

Change SSL Certs folder

This commit is contained in:
Joao M 2022-08-16 20:07:57 +00:00
parent b363abea8c
commit 3e561e557f
13 changed files with 32 additions and 20 deletions

View file

@ -235,7 +235,7 @@ Caveats:
- The port 2080 is reserved for the certbot and should not be exposed.
- You cannot set the port 443 for the container with the Letsencrypt. EasyHAProxy will handle this automatically once the certificate is issued.
- If you don't run the EasyHAProxy with the parameter `EASYHAPROXY_LETSENCRYPT_EMAIL` no certificate will be issued.
- Be aware about the issue limits - https://letsencrypt.org/docs/rate-limits/
- Be aware about issue limits - https://letsencrypt.org/docs/duplicate-certificate-limit/ and https://letsencrypt.org/docs/rate-limits/
## Exposing Ports
@ -267,6 +267,17 @@ docker run \
-d byjg/easy-haproxy
```
## Mapping ssl certificates volumes
EasyHAProxy stores the certificates inside the folder `/certs/haproxy` and `/certs/letsencrypt`. If you want to preserve the certificates between reloads, just map the folder `/certs` to your volume.
```bash
docker run \
/* other parameters */
-v /your/certs/folder:/certs \
-d byjg/easy-haproxy
```
## Handling SSL
You can attach a valid SSL certificate to the request.