Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
aj-geddes avatar

Nginx Configuration

  • 1.2k installs
  • 305 repo stars
  • Updated March 4, 2026
  • aj-geddes/useful-ai-prompts

nginx-configuration provides documented workflows for >

About

The nginx-configuration skill Nginx Configuration Table of Contents Overview overview When to Use when-to-use Quick Start quick-start Reference Guides reference-guides Best Practices best-practices Overview Master Nginx configuration for production-grade web servers reverse proxies load balancing SSL termination caching and API gateway patterns with advanced performance tuning When to Use Reverse proxy setup Load balancing between backend services SSL TLS termination HTTP 2 and gRPC support Caching and compression Rate limiting and DDoS protection URL rewriting and routing API gateway functionality Quick Start Minimal working example nginx etc nginx nginx conf user nginx worker_processes auto worker_rlimit_nofile 65535 error_log var log nginx error log warn pid var run nginx pid events worker_connections 4096 use epoll multi_accept on http include etc nginx mime types default_type application octet-stream Logging log_format main remote_addr remote_user time_local request status body_bytes_sent http_referer http_user_agent http_x_forwarded_for log_format upstream_time remote_addr remote_user time_local request status body_bytes_sent http_referer http_user_agent see reference guides.

  • [Overview](#overview)
  • [When to Use](#when-to-use)
  • [Quick Start](#quick-start)
  • [Reference Guides](#reference-guides)
  • [Best Practices](#best-practices)

Nginx Configuration by the numbers

  • 1,234 all-time installs (skills.sh)
  • +26 installs in the week ending Aug 5, 2026 (Skillselion tracking)
  • Ranked #166 of 1,435 DevOps & CI/CD skills by installs in the Skillselion catalog
  • Security screen: MEDIUM risk (skills.sh audit)
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

nginx-configuration capabilities & compatibility

Capabilities
[overview](#overview) · [when to use](#when to use) · [quick start](#quick start) · [reference guides](#reference guides) · [best practices](#best practices)
Use cases
documentation
From the docs

What nginx-configuration says it does

# Nginx Configuration ## Table of Contents - [Overview](#overview) - [When to Use](#when-to-use) - [Quick Start](#quick-start) - [Reference Guides](#reference-guides) - [Best P
SKILL.md
npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill nginx-configuration

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1.2k
repo stars305
Security audit2 / 3 scanners passed
Last updatedMarch 4, 2026
Repositoryaj-geddes/useful-ai-prompts

How do I use nginx-configuration for the task described in its SKILL.md triggers?

>

Who is it for?

Teams invoking nginx-configuration when the user request matches documented triggers and prerequisites.

Skip if: Skip when cached docs are missing, the request is a negative trigger, or another sibling skill owns the workflow.

When should I use this skill?

>

What you get

Step-by-step guidance grounded in nginx-configuration documentation and reference files.

  • nginx.conf
  • site configuration blocks

Files

SKILL.mdMarkdownGitHub ↗

Nginx Configuration

Table of Contents

Overview

Master Nginx configuration for production-grade web servers, reverse proxies, load balancing, SSL termination, caching, and API gateway patterns with advanced performance tuning.

When to Use

  • Reverse proxy setup
  • Load balancing between backend services
  • SSL/TLS termination
  • HTTP/2 and gRPC support
  • Caching and compression
  • Rate limiting and DDoS protection
  • URL rewriting and routing
  • API gateway functionality

Quick Start

Minimal working example:

# /etc/nginx/nginx.conf
user nginx;
worker_processes auto;
worker_rlimit_nofile 65535;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;

events {
    worker_connections 4096;
    use epoll;
    multi_accept on;
}

http {
    include /etc/nginx/mime.types;
    default_type application/octet-stream;

    # Logging
    log_format main '$remote_addr - $remote_user [$time_local] "$request" '
                    '$status $body_bytes_sent "$http_referer" '
                    '"$http_user_agent" "$http_x_forwarded_for"';

    log_format upstream_time '$remote_addr - $remote_user [$time_local] '
                            '"$request" $status $body_bytes_sent '
                            '"$http_referer" "$http_user_agent" '
// ... (see reference guides for full implementation)

Reference Guides

Detailed implementations in the references/ directory:

GuideContents
Production Nginx ConfigurationProduction Nginx Configuration
HTTPS Server with Load BalancingHTTPS Server with Load Balancing
Nginx Configuration ScriptNginx Configuration Script
Nginx Monitoring ConfigurationNginx Monitoring Configuration

Best Practices

✅ DO

  • Use HTTP/2 for performance
  • Enable SSL/TLS with strong ciphers
  • Implement proper caching strategies
  • Use upstream connection pooling
  • Monitor with stub_status or prometheus
  • Rate limit to prevent abuse
  • Add security headers
  • Use least_conn load balancing
  • Keep error logs separate from access logs

❌ DON'T

  • Disable gzip compression
  • Use weak SSL ciphers
  • Cache authenticated responses
  • Allow direct access to backends
  • Ignore upstream health checks
  • Mix HTTP and HTTPS without redirect
  • Use default error pages in production
  • Cache sensitive user data

Related skills

How it compares

Pick nginx-configuration for hand-written Nginx configs; use cloud-specific ingress skills when routing is managed by a platform controller.

FAQ

What does nginx-configuration do?

>

When should I use nginx-configuration?

>

What are common prerequisites?

--- name: nginx-configuration description: > Configure Nginx web server for high-performance reverse proxy, load balancing, SSL/TLS, caching, and API gateway functionality.

Is Nginx Configuration safe to install?

skills.sh reports 2 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

DevOps & CI/CDdeployinfra

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.