WebServer
6 Courses available
Bài 10: Rewrite và Redirects trong NGINX
Bài học về Rewrite và Redirects trong Nginx - rewrite rules với regex, return vs rewrite directive, location matching patterns (exact, prefix, regex), try_files directive và conditional redirects. Hướng dẫn URL manipulation, SEO-friendly redirects và best practices cho production environments.
Bài 5: Load Balancing
Bài học về Load Balancing trong Nginx - các thuật toán (round-robin, least_conn, ip_hash, hash), cấu hình upstream chi tiết, backup servers, weights, sticky sessions và health checks. Hướng dẫn setup load balancer cho high-availability và performance optimization với examples thực tế.
Bài 4: Reverse Proxy
Bài học về Reverse Proxy trong Nginx - khái niệm, cấu hình proxy_pass, proxy headers, upstream servers và health checks. Hướng dẫn setup Nginx làm reverse proxy cho backend applications như Node.js, Python, PHP. Bao gồm best practices và troubleshooting.
Bài 2: Cấu hình Cơ bản Nginx
Bài học về cấu hình Nginx với cú pháp nginx.conf, context (http/server/location), directive cơ bản. Hướng dẫn tạo virtual hosts, serving static files, index files, autoindex và custom error pages. Bao gồm ví dụ thực tế và best practices cho production.
Bài 1: Giới thiệu và Cài đặt Nginx
Bài học giới thiệu Nginx với kiến trúc event-driven, hướng dẫn cài đặt trên Ubuntu/CentOS/macOS/Windows, cấu trúc thư mục và các lệnh quản lý cơ bản như start, stop, reload. Bạn sẽ hiểu sự khác biệt Nginx vs Apache và troubleshooting các lỗi thường gặp.
Nginx từ Cơ bản đến Nâng cao
Nginx Master Course: From Zero to Hero là khóa học toàn diện giúp bạn làm chủ Nginx từ những khái niệm cơ bản nhất đến các kỹ thuật nâng cao trong môi trường production thực tế.