nginx

Configure Nginx reverse proxying with TLS termination, load balancing, and rate limiting.

10|7|Updated Mar 14, 2026
One-click install
npx skills add https://github.com/librefang/librefang-registry --skill nginx-librefang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nginx
Source: https://github.com/librefang/librefang-registry/tree/main/skills/nginx
Command: npx skills add https://github.com/librefang/librefang-registry --skill nginx-librefang

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Efficient, secure Nginx configurations for reverse proxying, TLS termination, and high-performance web serving are hard to design and maintain; this skill codifies proven patterns to simplify scalable, robust deployments.

Core Features & Use Cases

  • Secure TLS termination at the edge with modern cipher suites and proper header propagation to upstreams
  • Structured, maintainable configuration patterns including upstream blocks, server blocks per vhost, and security headers
  • Performance optimization and reliability practices such as rate limiting, gzip tuning, health checks, and graceful failover
  • Use Case: Deploy multiple virtual hosts behind a single ingress with optimized caching and logging for latency analysis

Quick Start

Generate a baseline Nginx config for a two-backend reverse proxy with TLS termination and security headers

Frequently Asked Questions about nginx

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

FAQPage Schema
How do I configure Nginx for reverse proxying with TLS termination and multiple upstream backends?

Configuring Nginx for reverse proxying with TLS termination involves setting up upstream blocks for load balancing and server blocks for secure virtual hosts. This enforces modern cipher suites, proper header propagation, and graceful failover across multiple backends.

What is the best way to structure Nginx configurations for multi-host setups?

The best way to structure Nginx configurations for multi-host setups is using maintainable patterns with separate upstream and server blocks per vhost. This approach incorporates security headers, rate limiting, and structured logging for latency analysis.

How does rate limiting and graceful failover work in production Nginx deployments?

Rate limiting and graceful failover in production Nginx deployments work by enforcing request throttling and proper upstream configuration with health checks. This ensures reliable traffic distribution and automatic routing away from failed backends.

Can I optimize Nginx performance with gzip tuning and structured logging for latency analysis?

You can optimize Nginx performance by applying gzip tuning to compress responses and implementing structured logging to capture latency metrics. These practices improve web serving efficiency and simplify latency analysis for high-traffic virtual hosts.

Does this Nginx configuration approach support edge TLS termination with modern security headers?

This Nginx configuration approach supports secure TLS termination at the edge using modern cipher suites. It enforces modern security practices by propagating proper headers to upstreams and applying rate limiting across production environments.