12 lines
340 B
Bash
12 lines
340 B
Bash
|
|
#!/bin/bash
|
||
|
|
# Erstzertifikat holen (nur einmal nötig)
|
||
|
|
docker run --rm -it \
|
||
|
|
-v $(pwd)/certbot/conf:/etc/letsencrypt \
|
||
|
|
-v $(pwd)/certbot/www:/var/www/certbot \
|
||
|
|
certbot/certbot certonly --webroot \
|
||
|
|
--webroot-path=/var/www/certbot \
|
||
|
|
--email deine-email@domain.de \
|
||
|
|
--agree-tos \
|
||
|
|
--no-eff-email \
|
||
|
|
-d pfandsystem.backdigital.de
|