nginx

Manage Nginx services, configure HTTPS and reverse proxies, implement load balancing strategies, and optimize performance with Gzip and worker parameters.

50|13|Updated Jan 19, 2026
One-click install
npx skills add https://github.com/chaterm/terminal-skills --skill nginx-chaterm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nginx
Source: https://github.com/chaterm/terminal-skills/tree/main/server/nginx
Command: npx skills add https://github.com/chaterm/terminal-skills --skill nginx-chaterm

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies the complex task of configuring, managing, and optimizing the Nginx web server for various use cases, from serving static content to acting as a reverse proxy and load balancer.

Core Features & Use Cases

  • Service Management: Control Nginx service status and test configurations.
  • Configuration: Set up static websites, HTTPS, and reverse proxies.
  • Load Balancing: Implement strategies like round-robin, IP hash, and least connections.
  • Performance Tuning: Optimize Nginx for speed and efficiency with Gzip and caching.
  • Use Case: Configure Nginx as a reverse proxy to route traffic to multiple backend application servers, ensuring high availability and performance.

Quick Start

Use the nginx skill to test the configuration file located at /etc/nginx/nginx.conf.

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 backend application servers?

To configure Nginx as a reverse proxy, define upstream backend application servers and use proxy_pass directives to route traffic, ensuring high availability and distributing client requests efficiently across your infrastructure.

What's the best way to set up Nginx load balancing across multiple servers?

Setting up Nginx load balancing involves defining an upstream block with your backend server addresses. You can implement round-robin, IP hash, or least connections strategies to distribute traffic based on your scaling needs.

How do I optimize Nginx performance for static website hosting?

Optimizing Nginx for static website hosting requires tuning worker processes and enabling Gzip compression. These adjustments reduce response times and bandwidth usage by efficiently serving static files directly.

How do I test my Nginx configuration file before restarting the service?

To test an Nginx configuration file, run the service test command against your configuration, typically located at /etc/nginx/nginx.conf. This validates syntax and catches errors before reloading the service.

Does Nginx support WebSocket proxying and HTTPS implementation?

Yes, Nginx supports WebSocket proxying by upgrading HTTP headers, and HTTPS implementation through SSL certificate configuration. These features secure client connections and maintain persistent real-time communication channels.

Why is my Nginx reverse proxy dropping connections during high traffic?

Nginx reverse proxy connections may drop during high traffic if worker processes or connection limits are misconfigured. Troubleshooting involves checking performance tuning parameters and adjusting upstream timeout thresholds to handle peak loads.