Web Server Deployment Pattern (Beginner)#
What Was Established#
For a beginner-friendly, lightweight, and scalable homelab setup, a stack consisting of Ubuntu Server LTS and Nginx is the recommended standard. This provides a balance of ease of use, extensive documentation, and low resource overhead.
Key Decisions#
- Operating System: Ubuntu Server LTS (chosen for stability, community support, and ease of management).
- Web Server: Nginx (chosen over Apache for being lightweight, faster for static content, and better suited for future use as a reverse proxy).
- Resource Allocation (Small Site): 1-2 CPU cores, 1-2 GB RAM, 10-2/GB Disk.
Current Configuration#
Nginx Site Configuration#
Default root directory: /var/www/html