File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -954,8 +954,12 @@ private function delete_site() {
954954 if ( $ this ->level > 4 ) {
955955 if ( $ this ->le ) {
956956 EE ::log ( 'Removing ssl certs. ' );
957- $ crt_file = EE_CONF_ROOT . "/nginx/certs/ $ this ->site_name .crt " ;
958- $ key_file = EE_CONF_ROOT . "/nginx/certs/ $ this ->site_name .key " ;
957+ $ crt_file = EE_CONF_ROOT . "/nginx/certs/ $ this ->site_name .crt " ;
958+ $ key_file = EE_CONF_ROOT . "/nginx/certs/ $ this ->site_name .key " ;
959+ $ conf_certs = EE_CONF_ROOT . "/acme-conf/certs/ $ this ->site_name " ;
960+ $ conf_var = EE_CONF_ROOT . "/acme-conf/var/ $ this ->site_name " ;
961+ \EE \Utils \delete_dir ( $ conf_certs );
962+ \EE \Utils \delete_dir ( $ conf_var );
959963 if ( file_exists ( $ crt_file ) ) {
960964 unlink ( $ crt_file );
961965 }
You can’t perform that action at this time.
0 commit comments