Zhongyuan's Field Notes

Personal journal on Linux debugging, static tooling, and everyday engineering.

Keeping Nginx Configs Minimal

2026-11-18 · Infrastructure

Small static sites rarely need complex rewrite chains. A clean root directive, strict security headers, and automated TLS renewal keep maintenance close to zero.

Notes on systemd Service Hardening

2026-10-29 · Linux

Using ProtectSystem=full and PrivateTmp=true limits blast radius for background daemons without complicating packaging or local file permissions.

Readable Shell Pipelines

2026-09-14 · Tooling

Prefer explicit exit checks and temporary cleanup traps over clever one-liners when automating routine checks across remote hosts.