Rewriting Localhost: A Modern Approach to Dev Environments
summary
Demonstrates exact setups and tradeoffs: puma dev auto-wires .test names and gives zero-config HTTPS for Rack/Puma apps but no Docker support and only works for Puma-based servers; using dnsmasq + Caddy handles wildcard local domains, supports Docker and language-agnostic reverse proxying, and provides automatic HTTPS via Caddy TLS internal, with practical notes on /etc/resolver and brew services. Nginx works too but requires more manual TLS and proxy config.
AI-written summary · about
chapters (14)
- 0:00Dev environment challenges
- 2:36Traditional localhost problems
- 4:01History of reserved domains
- 6:49PAL and alternatives
- 7:31Puma Dev for Rails
- 11:17Puma Dev limitations
- 11:59DNS and proxy configs
- 13:45DNS Mask setup
- 16:57Caddy vs Nginx
- 17:43Caddy HTTPS and routing
- 19:13Caddy with Docker testing
- 21:08Nginx local config
- 21:49Use case recommendations
- 22:30Community resources
related talks
41mThink Cloud, Develop Locally
44mThe "battle" of the local development tools
50mInstant Self-contained Development Environments for Everyone
50mDockerize it stop living in the past and embrace the future
30mWorks on Everyone's Machine: An Overview of Local Development Tools
50mInstant Self-contained Development Environments for Everyone
31mFrom Local Setup Nightmares to DevContainers: Our Experience Report
27mWiring Cloud Native Applications for Local Development
