Merge pull request #554 from aaadelnrrv/make-acme-cleanup-more-specific

Make ACME challenge cleanup more specific
This commit is contained in:
Kyle Drake 2024-11-20 14:37:11 -06:00 committed by GitHub
commit abc5a4cf56
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -187,7 +187,7 @@ class LetsEncryptWorker
end
def clean_wellknown_turds(site)
wellknown_path = File.join(site.base_files_path, '.well-known')
wellknown_path = File.join(site.base_files_path, '.well-known', 'acme-challenge')
if File.exist?(wellknown_path)
FileUtils.rm_rf wellknown_path