diff --git a/bin/homepage b/bin/homepage --- a/bin/homepage +++ b/bin/homepage @@ -26,15 +26,13 @@ http { include "/tmp/light9_nginx_routes.conf"; location / { - root $ROOT/light9/web; - } - - location /node_modules { - root $ROOT/; + proxy_pass http://localhost:8300; } } } EOF head -1 /tmp/light9_nginx_routes.conf -exec /usr/sbin/nginx -c $CONF +pnpx vite -c light9/web/homepage/vite.config.ts & +/usr/sbin/nginx -c $CONF +wait