comparison host/test/test_renew_ssl.luan @ 2108:9df13949912f ssltesting

minor
author Violet7
date Tue, 16 Dec 2025 18:57:44 -0800
parents 5815f44197ee
children 8f5863f0870d
comparison
equal deleted inserted replaced
2107:5815f44197ee 2108:9df13949912f
11 local domain = "https.s3.luan.software" 11 local domain = "https.s3.luan.software"
12 local site_dir = uri("file:../sites/ssl1.s3.luan.software/") 12 local site_dir = uri("file:../sites/ssl1.s3.luan.software/")
13 local luanhost_dir = uri("file:..") 13 local luanhost_dir = uri("file:..")
14 local dry_run = true 14 local dry_run = true
15 local files = Https.get_files(domain, site_dir) 15 local files = Https.get_files(domain, site_dir)
16 16 logger.info(files)
17 site_dir.exists() or error() 17 site_dir.exists() or error()
18 18
19 Https.renew_ssl(files, 0,domain,site_dir,luanhost_dir,dry_run) 19 Https.renew_ssl(files, 0,domain,site_dir,luanhost_dir,dry_run)