diff host/update.sh @ 2102:3112b06ab447 ssltesting

add host/update.luan
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 16 Dec 2025 16:53:43 -0700
parents 41b8b2cbbdf8
children
line wrap: on
line diff
--- a/host/update.sh	Mon Dec 15 23:05:49 2025 -0700
+++ b/host/update.sh	Tue Dec 16 16:53:43 2025 -0700
@@ -31,10 +31,7 @@
 
 # this is done because the nginx conf uses absolute paths
 # and this breaks sites when the luan/host directory is moved
-for conf in sites/*/nginx.ssl.conf; do
-	domain=$(basename $(dirname "$conf"))
-	luan startup/nginx/nginx.ssl.conf.luan $SCRIPT_DIR $domain >$conf
-done
+luan classpath:luan/host/update.luan
 
 echo Starting...
 ./start.sh