Skip to main content

NGINX - page 21

Articles about setting up NGINX properly, available NGINX modules and all-things-NGINX

282 articles

NGINX

504 Gateway Timeout NGINX: How to Fix It

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,…

NGINX

NGINX FastCGI Keepalive: Persistent PHP-FPM Connections

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…

NGINX

Tuning worker_rlimit_nofile in NGINX: The Complete Guide

Learn how to properly tune worker_rlimit_nofile in NGINX for optimal performance. Understand the relationship between file descriptors, worker_connections, and system limits with practical examples…

NGINX

Tuning NGINX worker_processes: A Deep Dive

Learn how NGINX worker_processes works internally. Understand when to use auto and when manual tuning is better for VPS, containers, and high-memory setups.