Mercurial Hosting > luan
changeset 2072:b934176dfcf1 default tip
https hacks
| author | Franklin Schmidt <fschmidt@gmail.com> |
|---|---|
| date | Sun, 07 Dec 2025 16:28:28 -0700 |
| parents | 8d85c038f8ef |
| children | |
| files | host/renewSsl.sh src/luan/host/https.luan |
| diffstat | 2 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/host/renewSsl.sh Sat Dec 06 16:06:42 2025 -0700 +++ b/host/renewSsl.sh Sun Dec 07 16:28:28 2025 -0700 @@ -1,6 +1,10 @@ #!/bin/bash +set -e -set -e +# for now - fschmidt +echo 'totally fucked up' +exit 1 + cd "$1" || exit 1 ROOTPWD=$(pwd)
--- a/src/luan/host/https.luan Sat Dec 06 16:06:42 2025 -0700 +++ b/src/luan/host/https.luan Sun Dec 07 16:28:28 2025 -0700 @@ -31,7 +31,7 @@ local changed = false if is_https then -- https - if not key_file.exists() then + if not key_file.exists() or not local_cer_file.exists() or local_cer_file.length()==0 then local domain_ip = ip(domain) local is_local = domain_ip == "127.0.0.1" logger.info("is_local "..is_local)
