First Commit
This commit is contained in:
commit
a857bce00b
|
|
@ -0,0 +1,10 @@
|
||||||
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
|
cd /config/keys
|
||||||
|
if [[ -f custom-cert.crt && -f custom-cert.key ]]; then
|
||||||
|
echo "Using custom certificate as main certs. Certbot certs now named 'dcert.crt' and 'dcert.key'."
|
||||||
|
mv cert.crt dcert.crt
|
||||||
|
mv cert.key dcert.key
|
||||||
|
mv custom-cert.crt cert.crt
|
||||||
|
mv custom-cert.key cert.key
|
||||||
|
fi
|
||||||
|
|
@ -0,0 +1,2 @@
|
||||||
|
FROM lscr.io/linuxserver/swag:1.31.0
|
||||||
|
COPY 80-de-certbot /root/etc/cont-init.d/80-de-certbot
|
||||||
Loading…
Reference in New Issue