nginx

Configure Nginx server blocks, reverse proxying, SSL/TLS, and load balancing.

Updated Mar 12, 2026
One-click install
npx skills add https://github.com/mefardales/skillbox --skill nginx-mefardales
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nginx
Source: https://github.com/mefardales/skillbox/tree/main/skills/devops/nginx
Command: npx skills add https://github.com/mefardales/skillbox --skill nginx-mefardales

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

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.

Frequently Asked Questions about nginx

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure Nginx as a reverse proxy to pass correct client information to backend applications?

Nginx load balancing distributes traffic across backend servers using configurable upstream blocks. You can apply different scheduling algorithms and health checks to efficiently route requests and prevent backend server overload.

What is the best way to set up HTTP to HTTPS redirection in Nginx server blocks?

Nginx load balancing distributes traffic across backend servers using configurable upstream blocks. You can apply different scheduling algorithms and health checks to efficiently route requests and prevent backend server overload.

How do I implement rate limiting and security headers in Nginx for production?

Nginx load balancing distributes traffic across backend servers using configurable upstream blocks. You can apply different scheduling algorithms and health checks to efficiently route requests and prevent backend server overload.

Can I use Nginx to cache responses and optimize static file serving for my web server?

Nginx load balancing distributes traffic across backend servers using configurable upstream blocks. You can apply different scheduling algorithms and health checks to efficiently route requests and prevent backend server overload.

Does Nginx support WebSocket connections for real-time communication behind a reverse proxy?

Nginx load balancing distributes traffic across backend servers using configurable upstream blocks. You can apply different scheduling algorithms and health checks to efficiently route requests and prevent backend server overload.

What SSL and TLS configurations should I apply for secure Nginx production deployments?

Nginx load balancing distributes traffic across backend servers using configurable upstream blocks. You can apply different scheduling algorithms and health checks to efficiently route requests and prevent backend server overload.