Skip to content
This repository was archived by the owner on Jan 6, 2021. It is now read-only.

Commit f9fa195

Browse files
authored
Merge branch 'master' into ipv6-new
2 parents 5fd200a + 01a7063 commit f9fa195

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,8 @@ This will *ask* Google et al not to index and list your site. Be careful with th
141141

142142
## Versions
143143

144-
+ **05.12.18:** Add ipv6 and http/2 support to default site config.
144+
+ **19.12.18:** Add ipv6 and http/2 support to default site config.
145+
+ **08.12.18:** Had to remove cert renewal during container start due to certbot's new undocumented "feature" of up to 8 minute random delay.
145146
+ **03.12.18:** Fix silly bug resetting the duckdns token.
146147
+ **02.12.18:** Add dns validation support for ovh.
147148
+ **20.11.18:** Externalize reverse proxy confs to separate github repo `linuxserver/reverse-proxy-confs`, update baseimage packages during build

root/etc/cont-init.d/50-config

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -228,12 +228,11 @@ if [ ! -f "/config/keys/letsencrypt/fullchain.pem" ]; then
228228
sleep infinity
229229
fi
230230
openssl pkcs12 -export -out privkey.pfx -inkey privkey.pem -in cert.pem -certfile chain.pem -passout pass:
231+
sleep 1
231232
cat {privkey,fullchain}.pem > priv-fullchain-bundle.pem
233+
echo "New certificate generated; starting nginx"
232234
else
233-
echo "Certificate exists; parameters unchanged; attempting renewal"
234-
chmod +x /app/le-renew.sh
235-
sleep 1
236-
/app/le-renew.sh
235+
echo "Certificate exists; parameters unchanged; starting nginx"
237236
fi
238237

239238
# logfiles needed by fail2ban
@@ -247,3 +246,4 @@ chown -R abc:abc \
247246
/config
248247
chmod -R 0644 /etc/logrotate.d
249248
chmod -R +r /config/log
249+
chmod +x /app/le-renew.sh

0 commit comments

Comments
 (0)