nginx

Manage Nginx configurations for hosting, HTTPS, reverse proxying, and load balancing.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies the complex tasks of configuring, managing, and optimizing Nginx web servers, reverse proxies, and load balancers.

Core Features & Use Cases

  • Service Management: Start, stop, reload, and test Nginx configurations.
  • Configuration Snippets: Provides examples for static websites, HTTPS, reverse proxying (including WebSockets), and load balancing.
  • Performance Tuning: Offers directives for optimizing worker processes, file descriptors, caching, and compression.
  • Use Case: Quickly set up a secure HTTPS-enabled static website or configure Nginx as a reverse proxy for a backend application with load balancing and session persistence.

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 WebSocket traffic?

To configure Nginx as a reverse proxy for WebSocket traffic, you need to set up specific proxy headers in your configuration file to upgrade the HTTP connection. The Skill provides configuration snippets for proxying both standard web and WebSocket traffic.

What's the best way to set up load balancing and session persistence in Nginx?

The best way to set up load balancing in Nginx is by defining upstream server blocks and applying load balancing strategies. This Skill provides configuration examples for distributing traffic and maintaining session persistence across backend applications.

How do I optimize Nginx worker processes, caching, and compression?

You optimize Nginx worker processes, caching, and compression by applying specific performance tuning directives in your configuration. This Skill offers directives to adjust worker processes, file descriptors, and compression for optimized web server performance.

Why is my Nginx configuration not working after updating the reverse proxy?

If your Nginx configuration is not working after an update, you should test the configuration file before reloading. This Skill addresses common troubleshooting scenarios and provides commands to test configurations, such as checking the file located at /etc/nginx/nginx.conf.

Can I use Nginx to host a static website with HTTPS enabled?

Yes, you can use Nginx to host a static website with HTTPS enabled. This Skill provides configuration snippets for static website hosting and HTTPS setup, allowing you to quickly deploy a secure static site.