NGINX Virtual Host: Host Multiple Domains on One Server
Learn how to configure NGINX virtual hosts (server blocks) to host multiple domains on one server. This guide covers basic setup, wildcard subdomains, server_name…
Practical performance guides from the GetPageSpeed engineering team: configuration, performance tuning and security for production Linux servers.
83 articles
Learn how to configure NGINX virtual hosts (server blocks) to host multiple domains on one server. This guide covers basic setup, wildcard subdomains, server_name…
Learn how NGINX proxy_pass trailing slash affects URL rewriting. This complete guide explains the URI transformation rules with verified examples, decision flowcharts, and real-world…
Master the difference between NGINX alias and root directives. This comprehensive guide explains path construction, trailing slash rules, try_files interaction, and regex patterns with…
Master all NGINX timeout directives including proxy_read_timeout, client_body_timeout, keepalive_timeout, and send_timeout. Learn when to use each, production-ready values, and how to diagnose timeout issues.
Learn how to configure NGINX upstream keepalive for connection pooling to your backend servers. This comprehensive guide covers the keepalive directive, tuning parameters, preventing…
Master NGINX proxy cache and microcaching to achieve up to 400x performance improvement. This comprehensive guide covers proxy_cache_path, proxy_cache_valid, thundering herd prevention with proxy_cache_lock,…
Master NGINX rewrite rules and URL rewriting with this comprehensive guide. Learn the difference between return and rewrite directives, capturing groups, rewrite flags, and…
Learn how to configure NGINX gzip compression for optimal web performance. This comprehensive guide covers gzip_types, gzip_comp_level, gzip_min_length, and all other gzip directives with…
The map + add_header CORS recipe everyone copies is broken in four specific ways: a missing Vary: Origin that poisons your CDN, add_header inheritance…
Learn how to fix NGINX 502 Bad Gateway errors. This comprehensive guide covers every cause including PHP-FPM issues, socket permissions, buffer problems, and more…