8bdbe8fd0b8728b15ee02f4d4ccf756faba18718
haproxy-letsencrypt-docker.md
| ... | ... | @@ -63,17 +63,17 @@ version: '3' |
| 63 | 63 | volumes: |
| 64 | 64 | - letsencrypt_etc:/etc/letsencrypt |
| 65 | 65 | command: bash -c 'certbot certonly \ |
| 66 | - --standalone \ |
|
| 67 | - --preferred-challenges http-01 \ |
|
| 68 | - --http-01-port 8000 \ |
|
| 69 | - --agree-tos \ |
|
| 70 | - --non-interactive \ |
|
| 71 | - -m your.email@fastmail.com \ |
|
| 72 | - -d "domain1.example.com" \ |
|
| 73 | - -d "domain2.example.com"; \ |
|
| 74 | - cat /etc/letsencrypt/live/domain1.example.com/fullchain.pem \ |
|
| 75 | - /etc/letsencrypt/live/domain1.example.com/privkey.pem \ |
|
| 76 | - > /etc/letsencrypt/haproxy.pem' |
|
| 66 | + --standalone \ |
|
| 67 | + --preferred-challenges http-01 \ |
|
| 68 | + --http-01-port 8000 \ |
|
| 69 | + --agree-tos \ |
|
| 70 | + --non-interactive \ |
|
| 71 | + -m your.email@fastmail.com \ |
|
| 72 | + -d "domain1.example.com" \ |
|
| 73 | + -d "domain2.example.com"; \ |
|
| 74 | + cat /etc/letsencrypt/live/domain1.example.com/fullchain.pem \ |
|
| 75 | + /etc/letsencrypt/live/domain1.example.com/privkey.pem \ |
|
| 76 | + > /etc/letsencrypt/haproxy.pem' |
|
| 77 | 77 | ports: |
| 78 | 78 | - 80:8000 |
| 79 | 79 |