diff host/start_nginx.sh @ 2136:3ca8f933209d nginx_decoupled

Initial; use ~/.nginx-luan/ as nginx master conf dir instead of trying to detect the system default.
author Violet7
date Mon, 19 Jan 2026 19:47:11 -0800
parents c3b4c19f2d8a
children 2b498e7f6d9e
line wrap: on
line diff
--- a/host/start_nginx.sh	Fri Jan 16 18:15:14 2026 -0800
+++ b/host/start_nginx.sh	Mon Jan 19 19:47:11 2026 -0800
@@ -1,4 +1,7 @@
 #!/bin/bash
 
-sudo nginx -t
-sudo nginx
+set -e
+. nginx_common.sh
+
+sudo nginx -c $NGINX_ROOT_CONFIG_FILE -t
+sudo nginx -c $NGINX_ROOT_CONFIG_FILE