Mercurial Hosting > luan
diff host/update2.sh @ 2129:6a2383baecb6 default tip
integrate into system nginx
| author | Violet7 |
|---|---|
| date | Fri, 16 Jan 2026 15:30:49 -0800 |
| parents | 059afc92310b |
| children |
line wrap: on
line diff
--- a/host/update2.sh Thu Jan 15 21:30:07 2026 -0800 +++ b/host/update2.sh Fri Jan 16 15:30:49 2026 -0800 @@ -13,13 +13,13 @@ openssl genrsa 4096 >local/tiny_account.key fi -cp startup/nginx/mime.types local/mime.types # id -gn gets the name of the primary group of the current user (staff) luan startup/nginx/nginx.conf.luan $(pwd) $(whoami) $(id -gn) >local/nginx.conf luan startup/nginx/nginx.default.conf.luan $(pwd) >local/nginx.default.conf # this is done because the nginx conf uses absolute paths # and this breaks sites when the luan/host directory is moved +# NOTE: if the luanhost root dir changes, the nginx include needs to be manually updated to reflect the new path. luan classpath:luan/host/update.luan echo Starting...
