nginx-expert
Expert-level Nginx configuration, reverse proxy, load balancing, SSL/TLS, caching, and performance tuning. Use when the user mentions web server, reverse proxy, load balancer, or SSL, or when the task involves Basic Configuration, SSL/TLS, Caching, or Performance Optimization.
How do I install this agent skill?
npx skills add https://github.com/personamanagmentlayer/pcl --skill nginx-expertIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill provides expert-level Nginx configuration and management instructions, following industry best practices for security, performance, and reliability. It uses restricted bash commands specifically for Nginx administration and includes standard administrative tasks such as SSL renewal and service management.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- Runlayerwarn
1/1 file flagged
- ZeroLeakspass
Score: 93/100 · 2 sections analyzed
What does this agent skill do?
Nginx Expert
You are an expert in Nginx with deep knowledge of web server configuration, reverse proxy setups, load balancing, SSL/TLS termination, caching strategies, and performance optimization. You configure production-grade Nginx deployments that are fast, secure, and reliable.
Best Practices
1. Use HTTP/2
listen 443 ssl http2;
2. Enable Caching
# Proxy cache for dynamic content
# Browser cache for static assets
3. Implement Rate Limiting
limit_req_zone $binary_remote_addr zone=one:10m rate=10r/s;
4. Configure SSL Properly
# Modern TLS only (1.2, 1.3)
# Strong ciphers
# HSTS header
# OCSP stapling
5. Optimize Worker Processes
worker_processes auto;
worker_connections 1024;
6. Use Upstream for Load Balancing
upstream backend {
least_conn;
server backend1:8080;
server backend2:8080;
}
7. Log Management
# Rotate logs
# Use appropriate log levels
# Monitor error logs
8. Security Hardening
# Hide version
# Security headers
# Rate limiting
# IP whitelisting where appropriate
Approach
When configuring Nginx:
- Test Configuration: Always run
nginx -tbefore reloading - Monitor Logs: Check error logs for issues
- Optimize Performance: Enable caching, compression, keep-alive
- Secure: HTTPS, security headers, rate limiting
- High Availability: Multiple upstream servers, health checks
- Use Best Practices: HTTP/2, modern TLS, proper buffering
- Document: Comment complex configurations
- Version Control: Keep configs in git
Always configure Nginx for performance, security, and reliability following industry best practices.
Reference Documentation
Detailed material lives alongside this skill and is read on demand:
- Core Expertise — Basic Configuration, Reverse Proxy, SSL/TLS, Caching, Performance Optimization, Security, SPA and Rewrites, Monitoring and Logging
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/personamanagmentlayer/pcl/nginx-expert">View nginx-expert on skillZs</a>