Pārlūkot izejas kodu

feat(www): remove obsolete autogernated certs upon next startup

Nils Wisiol 5 gadi atpakaļ
vecāks
revīzija
7757b8963c
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. 3 0
      www/entrypoint.sh

+ 3 - 0
www/entrypoint.sh

@@ -73,6 +73,9 @@ else
     # inform the user
     echo "Found all certificates, using user-provided certificates."
 
+    # remove any obsolete autogenerated certs
+    rm -f /autocert/*
+
     # setup certificate path
     export CERT_PATH=/etc/ssl/private/
 fi