nginxConfigure Nginx for reverse proxy, load balancing, SSL termination, and high-performance static serving.
Install via ClawdBot CLI:
clawdbot install ivangdavila/nginxUser needs Nginx expertise — from basic server blocks to production configurations. Agent handles reverse proxy, SSL, caching, and performance tuning.
| Topic | File |
|-------|------|
| Reverse proxy patterns | proxy.md |
| SSL/TLS configuration | ssl.md |
| Performance tuning | performance.md |
| Common configurations | examples.md |
= first, then ^~ prefix, then regex ~/~*, then longest prefixlocation /api matches /api, /api/, /api/anything — prefix matchlocation = /api only matches exactly /api — not /api/location ~ \.php$ is regex, case-sensitive — ~* for case-insensitive^~ stops regex search if prefix matches — use for static filesproxy_pass http://backend preserves location path — /api/users → /api/usersproxy_pass http://backend/ replaces location path — /api/users → /userscurl -v to see actual backend requesttry_files $uri $uri/ /index.html for SPA — checks file, then dir, then fallback=404 for error$uri/ tries directory with index — set index index.htmlproxy_pass directlyproxy_set_header Host $host — backend sees original host, not proxy IPproxy_set_header X-Real-IP $remote_addr — client IP, not proxyproxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for — append to chainproxy_set_header X-Forwarded-Proto $scheme — for HTTPS detectionupstream block — upstream backend { server 127.0.0.1:3000; }proxy_pass http://backend uses upstream — load balancing includedmax_fails and fail_timeout — marks server unavailablekeepalive 32 for connection pooling — reduces connection overheadssl_certificate is full chain — cert + intermediates, not just certssl_certificate_key is private key — keep permissions restrictedssl_protocols TLSv1.2 TLSv1.3 — disable older protocolsssl_prefer_server_ciphers on — server chooses cipher, not clientnginx -t before nginx -s reload — test config firstroot inside location — prefer in server, override only when neededalias vs root — alias replaces location, root appends locationif — many things break inside if, avoid complex logic$uri is decoded, normalized path — /foo%20bar becomes /foo bar$request_uri is original with query string — unchanged from client$args is query string — $arg_name for specific parameter$host from Host header — $server_name from configworker_processes auto — matches CPU coresworker_connections 1024 — per worker, multiply by workers for maxsendfile on — kernel-level file transfergzip on only for text — gzip_types text/plain application/json ...gzip_min_length 1000 — small files not worth compressingaccess_log off for static assets — reduces I/Olog_format — add response time, upstream timeerror_log level: debug, info, warn, error — debug is verbosemap and if — skip health checksGenerated Mar 1, 2026
Nginx routes incoming requests to various backend services based on URL paths, such as /api for API servers and /app for web applications. This enables a unified entry point for a microservices architecture, improving manageability and security.
Nginx handles SSL/TLS encryption and decryption at the edge, offloading this task from application servers. This ensures secure transactions for online stores while optimizing server performance and simplifying certificate management.
Nginx distributes incoming traffic across multiple backend servers using upstream blocks with health checks. This provides high availability and scalability for websites experiencing heavy user loads, such as news portals or social media platforms.
Nginx efficiently serves static assets like images, CSS, and JavaScript files with performance optimizations like sendfile and gzip. This reduces load times for web applications and improves user experience in content-heavy industries.
Nginx uses try_files directives to serve single-page applications by checking for file existence and falling back to an index.html file. This ensures proper client-side routing for modern web apps without server-side rendering.
Companies offer Nginx configuration and maintenance as part of managed web hosting packages. This includes SSL setup, performance tuning, and ongoing support, generating revenue through subscription fees.
Experts provide Nginx consulting services for optimizing server configurations, along with training workshops for development teams. Revenue comes from project-based contracts or per-session training fees.
SaaS platforms integrate Nginx for load balancing and reverse proxy capabilities within their infrastructure offerings. This enhances platform reliability and scalability, driving revenue through premium service tiers.
💬 Integration Tip
Always test configurations with nginx -t before reloading to avoid downtime, and use proxy_set_header to preserve client IP information for backend services.
Automatically update Clawdbot and all installed skills once daily. Runs via cron, checks for updates, applies them, and messages the user with a summary of what changed.
Full desktop computer use for headless Linux servers. Xvfb + XFCE virtual desktop with xdotool automation. 17 actions (click, type, scroll, screenshot, drag,...
Essential Docker commands and workflows for container management, image operations, and debugging.
Tool discovery and shell one-liner reference for sysadmin, DevOps, and security tasks. AUTO-CONSULT this skill when the user is: troubleshooting network issues, debugging processes, analyzing logs, working with SSL/TLS, managing DNS, testing HTTP endpoints, auditing security, working with containers, writing shell scripts, or asks 'what tool should I use for X'. Source: github.com/trimstray/the-book-of-secret-knowledge
Deploy applications and manage projects with complete CLI reference. Commands for deployments, projects, domains, environment variables, and live documentation access.
Monitor topics of interest and proactively alert when important developments occur. Use when user wants automated monitoring of specific subjects (e.g., product releases, price changes, news topics, technology updates). Supports scheduled web searches, AI-powered importance scoring, smart alerts vs weekly digests, and memory-aware contextual summaries.