Mercurial Hosting > luan
changeset 2055:a72cd62f9281 acme-tiny tip
specify nginx config path
| author | Violet7 |
|---|---|
| date | Tue, 11 Nov 2025 19:19:49 -0800 |
| parents | 9a1b5e292b63 |
| children | |
| files | src/luan/host/https.luan |
| diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/luan/host/https.luan Tue Nov 11 19:17:01 2025 -0800 +++ b/src/luan/host/https.luan Tue Nov 11 19:19:49 2025 -0800 @@ -104,7 +104,8 @@ -- glob include confs in /tmp/acme_setup/*/nginx.acme_setup.conf -- so we just need to reload it so it can find the one we just made local cmd = [[ - sudo $(which nginx) -t -c "]]..luanhost_dir..[[/local/nginx.conf" && sudo $(which nginx) -s reload; + sudo $(which nginx) -t -c "]]..luanhost_dir..[[/local/nginx.conf" && \ + sudo $(which nginx) -s reload -c "]]..luanhost_dir..[[/local/nginx.conf"; ]] local s = uri("bash:"..cmd).read_text() logger.info("reload_nginx "..s)
