What problem does it solve?
This Skill provides best practices and configurations for Nginx, ensuring efficient, secure, and scalable web serving, reverse proxying, and load balancing.
Core Features & Use Cases
- Optimized Server Blocks: Securely configure virtual hosts with HTTP to HTTPS redirection.
- Robust Reverse Proxying: Ensure backend applications receive correct client information and handle timeouts.
- Secure SSL/TLS: Implement modern TLS configurations for encrypted communication.
- Efficient Load Balancing: Distribute traffic effectively across backend servers.
- Caching Strategies: Improve performance by caching responses.
- Security Hardening: Apply essential security headers and rate limiting.
- WebSocket Support: Properly configure Nginx for real-time communication.
- Static File Serving: Optimize delivery of static assets with proper caching.
Quick Start
Configure Nginx to serve a static website from /var/www/app and redirect all HTTP traffic to HTTPS for app.example.com.