Mercurial Hosting > luan
diff host/update.sh @ 1632:0344a535b1db
add doc
author | fffilimonov |
---|---|
date | Tue, 14 Dec 2021 07:41:01 +0000 |
parents | 35c626c06dd5 |
children |
line wrap: on
line diff
--- a/host/update.sh Mon Dec 13 09:14:52 2021 +0000 +++ b/host/update.sh Tue Dec 14 07:41:01 2021 +0000 @@ -19,9 +19,9 @@ ./acme.sh --register-account --cert-home ./sites --config-home local/letsencrypt/config 2>&1 | grep 'ACCOUNT_THUMBPRINT' | awk -F "'" '{print $2}' > local/leKey.txt; fi; -cp startup/mime.types local/mime.types; -luan startup/nginx.conf.luan $(pwd) $(whoami) $(id -gn) > local/nginx.conf -luan startup/nginx.default.conf.luan $(pwd) $(cat local/leKey.txt) > local/nginx.default.conf +cp startup/nginx/mime.types local/mime.types; +luan startup/nginx/nginx.conf.luan $(pwd) $(whoami) $(id -gn) > local/nginx.conf +luan startup/nginx/nginx.default.conf.luan $(pwd) $(cat local/leKey.txt) > local/nginx.default.conf echo Starting... ./start.sh