Browse Source

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

Nils Wisiol 5 năm trước cách đây
mục cha
commit
7757b8963c
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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