增加帮助页面网页代码功能,以及nginx部署

This commit is contained in:
taocong
2026-06-10 17:17:07 +08:00
parent edb693e5af
commit dbb7059664
52 changed files with 521 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/bin/bash
NGINX_DIR="/home/taoc/nginx"
NGINX_BIN="$NGINX_DIR/sbin/nginx"
echo "Stopping Help Documentation Server..."
if [ ! -f "$NGINX_BIN" ]; then
echo "Error: nginx binary not found at $NGINX_BIN"
exit 1
fi
"$NGINX_BIN" -s stop
if [ $? -eq 0 ]; then
echo "✅ Help Documentation Server stopped successfully"
else
echo "❌ Failed to stop nginx"
exit 1
fi