This commit is contained in:
zuowei1216
2025-12-22 21:06:29 +08:00
parent 8ea58fe480
commit 1b19ff1b92
179 changed files with 21895 additions and 3774 deletions

17
tempdocs/检查命令.md Normal file
View File

@@ -0,0 +1,17 @@
# 检查 Caddy 状态
```bash
# 1. 查看 Caddy 监听的端口
ss -tlnp | grep caddy
# 2. 查看 Caddy 详细日志
journalctl -u caddy -n 100 --no-pager
# 3. 检查 Caddyfile 格式
caddy fmt --overwrite /etc/caddy/Caddyfile
cat /etc/caddy/Caddyfile
# 4. 测试 443 端口
curl -I -k https://localhost/
```