About this document
Moodle 5.x introduces a significant architectural change: the public/ directory pattern. Unlike previous versions where the entire Moodle root was exposed to the web server, Moodle 5+ requires your web root to point to the public/ subdirectory. This guide covers a complete production-ready tuning stack that respects this new structure while delivering sub-second page loads under heavy concurrent load.