Visão Geral
O curso Escalando Sites com Nginx apresenta de forma prática como utilizar o Nginx para otimizar, balancear e escalar sites e aplicações web de alta performance. O participante aprenderá a configurar o Nginx como servidor web, proxy reverso, balanceador de carga e cache de conteúdo, além de aplicar técnicas avançadas de desempenho e disponibilidade.
Conteúdo Programatico
Module 1: Introduction to Nginx
- Overview and architecture of Nginx
- Comparing Nginx with Apache
- Installation and initial configuration
- Understanding Nginx configuration files
Module 2: Web Server and Reverse Proxy Basics
- Serving static content
- Setting up reverse proxy for backend services
- Understanding upstreams and location blocks
- Implementing gzip compression and caching headers
Module 3: Load Balancing Techniques
- Load balancing algorithms (Round Robin, Least Connections, IP Hash)
- Health checks and failover configuration
- High availability setup with Keepalived and Nginx
- SSL termination and offloading
Module 4: Performance Optimization
- Tuning worker processes and connections
- Using caching effectively (microcaching and reverse proxy cache)
- Rate limiting and request throttling
- Content delivery optimization with Nginx
Module 5: Security and Hardening
- Enabling HTTPS with Let's Encrypt
- Securing headers and request filtering
- Protecting against DDoS and brute-force attacks
- Access control and IP whitelisting
Module 6: Observability and Monitoring
- Access and error log configuration
- Metrics exposure and integration with Prometheus
- Monitoring Nginx with Grafana dashboards
- Troubleshooting and log analysis
Module 7: Nginx in Modern Architectures
- Running Nginx inside Docker containers
- Using Nginx Ingress Controller in Kubernetes
- Integrating Nginx with service meshes and API gateways
- Scaling web applications dynamically
Module 8: Hands-On Project
- Deploying a scalable web architecture using Nginx
- Implementing load balancing and caching
- Adding monitoring and security layers
- Testing failover and scaling under load