HAProxy plug Let's Encrypt auto request and renew certification.
512
HAProxy plug Let's encrypt auto request and renew function.
docker pull samejack/ssl-proxy
vim ./hle/[email protected]
Filename [email protected] is your let's encrypt account, and config file content as follows:
[
{
"domain": ["example.com", "www.example.com"],
"server": ["127.0.0.1:8080"]
},
{
"domain": ["example2.com"],
"server": ["192.168.0.1:80", "192.168.0.2:80"]
}
]
Sample is means [email protected] Let's encrypt account resuest two certification of web site.
docker run -it \
--publish 443:443 --publish 80:80 \
--name ssl-proxy \
--env HLE_STAGING=true \
--env HLE_INTERVAL=10 \
--volume hle:/etc/hle \
--volume ssl:/etc/ssl/le-storage \
--volume your-document-root:/var/www/html \
samejack/ssl-proxy:latest
| Path | Description |
|---|---|
| /etc/hle | SSL Proxy Config Files |
| /etc/ssl/le-storage | Certification File Path |
| /var/www/html | Default WWW Document Root |
docker exec -it ssl-proxy php /usr/share/hle/hle-renew.php
| Name | Default | Description |
|---|---|---|
| HLE_INTERVAL | 300 | Config file check interval |
| HLE_STAGING | (Undefined) | Let's encrypt staging mode |
Make docker image in linux OS.
git clone https://github.com/samejack/docker-ssl-proxy.git
cd docker-ssl-proxy.git
make
Apache License 2.0
Content type
Image
Digest
Size
141.3 MB
Last updated
almost 8 years ago
docker pull samejack/ssl-proxy