2025-09-16 21:25:24 +08:00

8 lines
124 B
Bash

#!/bin/sh
# Nginx健康检查脚本
if curl -f http://localhost/health > /dev/null 2>&1; then
exit 0
else
exit 1
fi