nginx

Nginx

High-performance web server, reverse proxy and load balancer.

Nginx virtual host blocks, SSL/TLS hardening, reverse-proxy rules, rate limiting, gzip compression, WebSocket proxying and upstream load-balancer configs.

Configuration Recipes5

nginxNginxintermediateVerified
Nginx HTTPS Reverse Proxy with SSL/TLS Hardening

Complete Nginx server block that terminates HTTPS, enforces TLS 1.2+, sets HSTS and security headers, enables gzip compression, and proxies to an upstream application server.

Nginx · DevOps & Infrastructure
nginxNginxintermediate
Nginx Configuration for PHP-FPM with 403 Forbidden Error Resolution

This configuration snippet demonstrates a basic Nginx setup for serving PHP files with PHP-FPM, addressing common permission issues.

Nginx · DevOps & Infrastructure
nginxNginxbeginner
Understanding the 'upstream' Directive in Nginx

This snippet demonstrates the use of the 'upstream' directive in Nginx for load balancing.

Nginx · DevOps & Infrastructure
nginxNginxintermediate
Nginx Configuration for Multiple Domains with 403 Errors

This configuration snippet demonstrates how to set up Nginx for multiple domains and troubleshoot 403 errors.

Nginx · DevOps & Infrastructure
nginxNginxintermediateVerified
Nginx API Rate Limiting with Burst Zones

Protect API endpoints from abuse using Nginx limit_req_zone. Defines separate zones for authenticated vs anonymous users with burst allowances and appropriate 429 error responses.

Nginx · DevOps & Infrastructure