Mercurial Hosting > luan
comparison host/test/test_https.luan @ 2163:9abb0272665d default tip
merge nginx_sites_addon
| author | Violet7 |
|---|---|
| date | Sun, 01 Feb 2026 15:30:31 -0800 |
| parents | b235600ea89b |
| children |
comparison
equal
deleted
inserted
replaced
| 2148:1e40503a1c3c | 2163:9abb0272665d |
|---|---|
| 11 | 11 |
| 12 local is_https = true | 12 local is_https = true |
| 13 local domain = "https.me.luan.software" | 13 local domain = "https.me.luan.software" |
| 14 local site_dir = uri("file:local") | 14 local site_dir = uri("file:local") |
| 15 local luanhost_dir = uri("file:..") | 15 local luanhost_dir = uri("file:..") |
| 16 local nginx_default_conf = uri("file:../local/nginx.default.conf") | |
| 16 local dry_run = true | 17 local dry_run = true |
| 17 | 18 |
| 18 site_dir.mkdir() | 19 site_dir.mkdir() |
| 19 | 20 |
| 20 Https.do_set_https(is_https,domain,site_dir,luanhost_dir,dry_run) | 21 Https.do_set_https(is_https,domain,site_dir,luanhost_dir,nginx_default_conf,dry_run) |
