⚙️ Servidores y Nginx
Nginx a fondo, virtual hosts, TLS/HTTPS, reverse proxy, load balancing y stacks LAMP/LEMP montados a mano.
Servidores y Nginx
Un backend se sirve a través de un web server. Este nivel te enseña a configurar Nginx de verdad — virtual hosts, reverse proxy, TLS, caching, load balancing — y a montar un LEMP/LAMP a mano, sin Docker, para entender cada pieza del stack.
El orden correcto: primero Nginx sirviendo archivos estáticos, luego virtual hosts, luego reverse proxy + FastCGI hacia tu app, luego TLS/HTTPS, y por último load balancing y caching. Solo cuando lo haces a mano entiendes qué automatiza un contenedor.
Nivel 2 · Nginx
Configuración de producción
La configuración real, no el hola-mundo.
- Nginx Beginner's Guide📘 DocsENGratisLa introducción oficial: static content, proxy_pass, FastCGI. Lectura obligatoria antes de tocar config.Los conceptos núcleo de Nginx.
- Nginx Documentation📘 DocsENGratisReferencia completa de directivas (http/stream/ngx_http_ssl_module). La biblia del administrador Nginx.Todas las directivas y módulos.
- nginx-admins-handbook🧭 GuíaENGratisColección de buenas prácticas y configs de producción reales.Configs profesionales probadas.
- DigitalOcean — Configure Nginx as Reverse Proxy🧭 GuíaENGratisLos tutoriales de reverse proxy y load balancing más citados del mundo.Reverse proxy paso a paso.
- DigitalOcean — How To Set Up LEMP Stack on Ubuntu🧭 GuíaENGratisEl tutorial de referencia para montar LEMP a mano, sin Docker.El stack completo a mano.
- DigitalOcean — How To Set Up LAMP Stack on Ubuntu🧭 GuíaENGratisEl LAMP clásico (Apache + MySQL + PHP) paso a paso.La alternativa con Apache.
- Apache HTTP Server Docs📘 DocsENGratisLa referencia canónica de Apache: VirtualHost, mod_proxy, mod_ssl.Comparar con Nginx.
- Caddy Docs📘 DocsENGratisHTTPS automático con Let's Encrypt; moderno complemento para entender TLS.TLS sin dolor.
Nivel 2 · TLS y HTTPS
TLS/HTTPS, HTTP/2 y HTTP/3
Cifrar y acelerar tu servidor.
- Let's Encrypt Docs📘 DocsESGratisCómo funcionan ACME, renovación y certificados. La base del TLS moderno.Certificados gratis y automatizados.
- Mozilla SSL Configuration Generator🔧 HerramientaENGratisGenera configs TLS calificación A+ para Nginx y Apache.Hardening de TLS con un clic.
- MDN — HTTP📘 DocsESGratisExplica HTTP/2, HTTP/3, caching y cabeceras, esencial para tuning.El protocolo HTTP moderno.
- SSL Labs🔧 HerramientaENGratisAnaliza tu servidor TLS y da una nota. El estándar para verificar configs.Auditar tu TLS real.
Seguridad y hardening del servidor
Lo que un servidor expuesto a internet necesita.
- DigitalOcean — Securing Nginx🧭 GuíaENGratisCabeceras de seguridad, limitación de request, TLS hardening en Nginx.Hardening de Nginx práctico.
- nginx.org — ngx_http_headers_module📘 DocsENGratisCabeceras HSTS, X-Frame-Options, CSP, etc. desde la fuente.Cabeceras de seguridad directas.
- OWASP — Web Server Configuration🧭 GuíaENGratisLas cabeceras de seguridad recomendadas por OWASP.La checklist de seguridad HTTP.
Monta en una VPS (o una VM local con Vagrant) un LEMP completo a mano: Nginx + PHP-FPM + MySQL, con un virtual host por dominio, TLS con Let’s Encrypt, reverse proxy hacia una app (Go/Python/PHP) y rate limiting. Cuando funcione end-to-end por HTTPS, ya entiendes servidores.