Mercurial Hosting > luan
changeset 2074:4d4feb3cc9d4
check nginx.ssl.conf
| author | Franklin Schmidt <fschmidt@gmail.com> |
|---|---|
| date | Mon, 08 Dec 2025 10:50:25 -0700 |
| parents | a70b603f82f5 |
| children | db677318ce63 |
| files | src/luan/host/https.luan |
| diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/luan/host/https.luan Sun Dec 07 21:36:08 2025 -0700 +++ b/src/luan/host/https.luan Mon Dec 08 10:50:25 2025 -0700 @@ -31,7 +31,10 @@ local changed = false if is_https then -- https - if not key_file.exists() or not local_cer_file.exists() or local_cer_file.length()==0 then + if not key_file.exists() \ + or not local_cer_file.exists() or local_cer_file.length()==0 \ + or not nginx_file.exists() \ + then local domain_ip = ip(domain) local is_local = domain_ip == "127.0.0.1" logger.info("is_local "..is_local)
