Dev Field Notes
Practical notes from building and running software.
-
Backing Up a Small VPS the Boring, Reliable Way
Database dumps, encrypted restic snapshots to off-site object storage, systemd timers, and the monthly restore drill that actually matters.
-
A Practical Guide to TLS Certificates With Let's Encrypt
HTTP-01 vs. DNS-01 challenges, Certbot vs. Caddy automatic TLS, and how to test renewal before a weekend outage.
-
Debugging Slow DNS Resolution on Linux
Tracing 5-second timeouts across systemd-resolved, /etc/resolv.conf, IPv6 AAAA lookups, and search domain suffixes.
-
HTTP Caching Headers Explained With Examples
Cache-Control, ETag, and Vary in plain terms, with concrete Nginx rules for static assets, HTML pages, and API responses.
-
Reading Linux Logs Without Drowning: journalctl Recipes
Filtering by unit, boot, priority, and time window—plus keeping the journal from eating your entire root disk.
-
Docker Compose Patterns for Small Self-Hosted Apps
Practical defaults for single-host Compose stacks: healthchecks, read-only mounts, internal networks, and predictable restarts.
-
systemd Timers vs. Cron: When to Use Which
Cron is still fine for one-liners, but systemd timers give you randomized delays, clean logs, and resource limits out of the box.
-
Nginx Reverse Proxy Basics and Common Pitfalls
Forwarding headers, WebSocket upgrades, proxy timeouts, and the trailing-slash rule that trips up almost everyone once.
-
Why Your First Deploy Should Be Boring
Skip the cluster, the message bus, and the multi-region failover until you actually have traffic that breaks a single VM.
-
Linux Server Hardening Checklist
SSH keys, UFW defaults, fail2ban jails, and unattended upgrades for a fresh Ubuntu box before anything public touches it.