GitHub Pages, a static site hosting service, initially operated on a simple architecture using two machines in an active/standby configuration, but faced challenges like delayed site visibility and storage limitations. In response, a new infrastructure was implemented in 2015, featuring a frontend routing tier using Dell C5220s and nginx with ngx_lua scripts to efficiently route requests and manage dependencies, notably involving MySQL read replicas for backend storage decisions. The fileserver tier, consisting of Dell R720 pairs, uses DRBD for synchronous data replication, ensuring continuity and quick recovery. This revamped system allows for instant site publication, resolves cold-restart issues, and maintains high performance, with ngx_lua enhancing nginx's capabilities by embedding custom code into the request process. The use of Fastly for caching further mitigates potential outages, ensuring high availability even during maintenance.