Mercurial Hosting > luan
comparison host/test/test_https.luan @ 2158:b235600ea89b nginx_sites_addon tip
add nginx_default_conf
| author | Franklin Schmidt <fschmidt@gmail.com> |
|---|---|
| date | Tue, 27 Jan 2026 21:50:37 -0700 |
| parents | c0847b30833f |
| children |
comparison
equal
deleted
inserted
replaced
| 2157:484d2b42f2d1 | 2158:b235600ea89b |
|---|---|
| 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) |
