mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
Merge pull request #554 from aaadelnrrv/make-acme-cleanup-more-specific
Make ACME challenge cleanup more specific
This commit is contained in:
commit
abc5a4cf56
1 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,7 @@ class LetsEncryptWorker
|
||||||
end
|
end
|
||||||
|
|
||||||
def clean_wellknown_turds(site)
|
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)
|
if File.exist?(wellknown_path)
|
||||||
FileUtils.rm_rf wellknown_path
|
FileUtils.rm_rf wellknown_path
|
||||||
|
|
Loading…
Add table
Reference in a new issue