Three cheatsheets covering Nginx, SSH, and network diagnostics — TLS termination, reverse proxies, tunnels, and the packet-level tools for finding faults.
Three cheatsheets covering the networking tools every engineer reaches for: Nginx for TLS termination and reverse proxying, SSH for secure remote access and tunneling, and the diagnostic toolbox — curl, ss, tcpdump, dig, mtr — for finding faults when traffic doesn't flow.
Nginx Cheatsheet
stub_status, $status access-log analysisSSH Cheatsheet
known_hosts hygieneauthorized_keys optionsNetwork Tools Cheatsheet
Proxy timeouts cause more mystery 502s than any other misconfiguration. Production defaults should be explicit:
location / {
proxy_pass http://app:3000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
# Match these to your app's worst-case response time
proxy_connect_timeout 5s;
proxy_read_timeout 60s;
proxy_send_timeout 60s;
}
# Which process listens on 443?
ss -tlnp 'sport = :443'
# Count connections per state — a TIME_WAIT flood shows here first
ss -tan | awk '{print $1}' | sort | uniq -c
# Established connections from a specific subnet
ss -tn state established '( dst 10.0.1.0/24 )'
| Symptom | First tool | What to look for | |---|---|---| | Domain doesn't resolve | dig | NXDOMAIN vs SERVFAIL, authoritative answers | | Connects but no response | curl -v | TLS handshake vs request hang | | Intermittent slowness | mtr | Loss at a specific hop | | Port unreachable | ss | Nothing listening, or wrong bind address | | 502 from proxy | nginx error log | upstream timeout vs connection refused |
The tools sheet is organized around this diagnostic flow — symptom first, tool second.
$9.00
Does the Nginx sheet cover Caddy or Traefik? No — it targets Nginx specifically. If you run Traefik with Docker, the AI Infrastructure Mastery guide covers Traefik config in depth.
Are the SSH sections OpenSSH-specific? Yes, OpenSSH 9.x. Windows clients via native OpenSSH work identically; PuTTY-specific workflows are not covered.
Are the cheatsheets updated? Yes — buyers get re-download access to new revisions through the library page.