NGINX Location Priority: Complete Regex Matching Guide
Master NGINX location priority and regex matching. Learn how =, ^~, ~, and ~* modifiers work, understand the matching algorithm from NGINX source code,…
Practical performance guides from the GetPageSpeed engineering team: configuration, performance tuning and security for production Linux servers.
83 articles
Master NGINX location priority and regex matching. Learn how =, ^~, ~, and ~* modifiers work, understand the matching algorithm from NGINX source code,…
Learn how NGINX load balancing works under the hood. This complete guide covers all load balancing algorithms including round-robin, least connections, IP hash, consistent…
Master NGINX reverse proxy configuration from basics to advanced. Learn proxy_pass, upstream load balancing, headers, buffering, timeouts, WebSockets, and troubleshooting 502/504 errors with production-ready…
Stop copy-pasting timeout fixes. Learn which NGINX directive actually causes 504 errors and how to fix it properly—whether you're proxying to Varnish, Node.js, PHP-FPM,…
Learn how to configure persistent FastCGI connections between NGINX and PHP-FPM using fastcgi_keep_conn and upstream keepalive directives. Includes production-ready configurations, PHP-FPM tuning tips, and…
Master NGINX browser caching for static files with this comprehensive guide. Learn Cache-Control and Expires headers, cache-busting strategies, versioned URLs, and the immutable directive.…
Learn how to automatically serve WebP images with NGINX to supporting browsers while falling back to JPEG/PNG for others. Covers content negotiation, the Vary…
Learn how to enable Varnish Cache on Magento 2 without downtime. Step-by-step guide with NGINX sandwich setup, VCL configuration, and zero-downtime traffic switch.
Learn how to set up NGINX cache purge for WordPress with the ngx_cache_purge module. This guide covers installation, configuration, cache key best practices, and…
How to build kernel RPM packages with native CPU optimizations, for fun and profit, *and* performance