nginx

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

3|Updated Feb 6, 2026
One-click install
npx skills add https://github.com/1Mangesh1/dev-skills-collection --skill nginx-1mangesh1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nginx
Source: https://github.com/1Mangesh1/dev-skills-collection/tree/main/skills/nginx
Command: npx skills add https://github.com/1Mangesh1/dev-skills-collection --skill nginx-1mangesh1

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Nginx web server configuration for reverse proxy, SSL/TLS, load balancing, and static hosting. Use when user asks to "configure nginx", "set up reverse proxy", "add SSL", "nginx location block", "load balancer config", "serve static files", or any web server configuration tasks.

Core Features & Use Cases

  • Basic Server Block
  • Reverse Proxy
  • SSL/TLS (HTTPS)
  • Location Blocks
  • Caching & Performance
  • SPA (Single Page Application) hosting
  • Common Commands
  • Security Headers
  • Reference

Quick Start

Create a basic server block for your domain, enable it, and reload nginx to apply the configuration.

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 for my web app?

To set up an Nginx reverse proxy, configure a server block and use the proxy_pass directive to forward client requests to your backend application. This Nginx configuration routes traffic efficiently and handles load balancing across multiple upstream servers.

Can I add SSL and HTTPS to my domain using Nginx?

Yes, you can enable SSL and HTTPS by configuring TLS certificates within your Nginx server block. This Nginx SSL configuration secures data delivery by encrypting traffic between the client and the web server.

What is the best way to serve a Single Page Application with Nginx?

Serving a Single Page Application (SPA) with Nginx involves configuring static file hosting and adding a fallback route. This SPA configuration directs all routing paths to your index file, ensuring client-side navigation works seamlessly.

Does Nginx support load balancing for backend APIs?

Nginx supports load balancing by distributing incoming network traffic across multiple upstream API servers. This configuration optimizes resource availability and prevents any single backend server from becoming a bottleneck.

How do I set up caching and security headers in Nginx?

You configure caching and security headers in Nginx by defining rules within your location blocks. This Nginx setup applies performance caching policies and HTTP security headers to protect and accelerate web server content delivery.