nginx try_files for a Static Site: The One-Line Config That Just Works
The nginx line that serves generated pages, clean URLs, and a proper 404 — explained. Plus the cache and gzip settings worth adding.
The nginx line that serves generated pages, clean URLs, and a proper 404 — explained. Plus the cache and gzip settings worth adding.
This site started as a hand-built static generator and moved to my own Go CMS. The honest reasons: content workflow, ad slots, and the cost of static's purity.
A hands-on account of writing a ~600-line Go static site generator for a data-driven site — the pieces, the pitfalls, and the honest build-vs-adopt decision.
I hand-built a Go static site generator for this site. Here is the honest comparison against Hugo, from someone who has now done both.