Tagged articles
22 articles
Page 1 of 1
dbaplus Community
dbaplus Community
May 1, 2026 · Operations

Why a Simple Nginx Change Made All Gateway Requests Return 400 (And How to Fix It)

A production incident caused by replacing two Nginx reverse proxies introduced an upstream name with an underscore, resulting in invalid Host headers and 400 Bad Request responses from Spring Cloud Gateway; the article details the step‑by‑step investigation, evidence from logs, tcpdump, and code, and presents configuration fixes to restore normal operation.

HTTP 400Host headerNginx
0 likes · 15 min read
Why a Simple Nginx Change Made All Gateway Requests Return 400 (And How to Fix It)
Tech Musings
Tech Musings
Apr 13, 2026 · Operations

Does Upgrading Nginx → Upstream to HTTP/2 Really Boost Performance?

This article details a systematic performance test of Nginx 1.29.x’s new HTTP/2 upstream support, comparing HTTP/1.1, HTTP/2 with keep‑alive, and HTTP/1.0 baselines across various payload sizes, connection‑pool settings, and large‑header scenarios to determine when protocol upgrades yield real throughput or latency gains.

HTTP2KeepaliveNginx
0 likes · 22 min read
Does Upgrading Nginx → Upstream to HTTP/2 Really Boost Performance?
Xiao Liu Lab
Xiao Liu Lab
Oct 24, 2025 · Operations

Why Nginx Caches DNS for Weeks and How to Fix It

In production, Nginx cached DNS lookups for up to a month, causing requests to stale IPs after CDN changes; this article explains the root cause, demonstrates how to configure upstream health checks and the built‑in resolver to ensure timely DNS updates and avoid prolonged outages.

DNSOperationsload balancing
0 likes · 6 min read
Why Nginx Caches DNS for Weeks and How to Fix It
Raymond Ops
Raymond Ops
Jun 3, 2025 · Operations

Mastering Nginx Load Balancing and Reverse Proxy Configuration

This article explains how to configure Nginx load balancing with upstream blocks, server weight, ip_hash, and logging variables, and details reverse‑proxy settings such as proxy_pass, proxy_method, header handling, redirects, and error‑fallback options, providing complete code examples for each feature.

ConfigurationNginxload balancing
0 likes · 12 min read
Mastering Nginx Load Balancing and Reverse Proxy Configuration
Lin is Dream
Lin is Dream
May 30, 2025 · Backend Development

What’s the Real Difference Between NGINX keepalive and HTTP keep‑alive?

Explain that “keepalive” is a concept used in both NGINX and HTTP protocol but with different meanings. In HTTP, keep‑alive (or persistent connection) is a header that allows a TCP connection to be reused for multiple requests, reducing latency. In NGINX, keepalive refers to the connection‑pool settings for upstream servers, controlling how many persistent connections are kept and their timeout.

HTTPKeepaliveperformance
0 likes · 8 min read
What’s the Real Difference Between NGINX keepalive and HTTP keep‑alive?
Raymond Ops
Raymond Ops
Apr 5, 2025 · Operations

Master Nginx Load Balancing: Step‑by‑Step Configuration Guide

This article explains how to configure Nginx as a load balancer for web applications, covering upstream and proxy_pass definitions, the three built‑in balancing methods, weight and connection settings, fail‑over options, and practical code examples for both HTTP and HTTPS deployments.

ConfigurationNginxOperations
0 likes · 11 min read
Master Nginx Load Balancing: Step‑by‑Step Configuration Guide
MaGe Linux Operations
MaGe Linux Operations
Dec 14, 2023 · Fundamentals

How to Fix Git Pull Errors When Remote Branches Disappear

When a remote branch that a local branch tracks is deleted, Git pull and push fail, but you can resolve the issue by checking the current upstream links, re‑associating the local branch with an existing remote branch, or removing the upstream link entirely.

Branchpull errorupstream
0 likes · 4 min read
How to Fix Git Pull Errors When Remote Branches Disappear
Liangxu Linux
Liangxu Linux
Feb 9, 2022 · Fundamentals

What Do Upstream and Downstream Really Mean in Linux?

The article explains the vague but important upstream/downstream terminology in Linux, illustrating its meaning with ISP traffic, kernel development, distribution packaging, application maintenance, and package‑manager automation, and shows why understanding data flow direction matters for developers and maintainers.

downstreamkernelpackage-management
0 likes · 8 min read
What Do Upstream and Downstream Really Mean in Linux?
Liangxu Linux
Liangxu Linux
Jun 12, 2021 · Backend Development

How Nginx’s max_fails and fail_timeout Really Work: A Hands‑On Demo

This article explains the meaning of Nginx upstream directives max_fails and fail_timeout, shows their default values, walks through a step‑by‑step experiment with two PHP‑FPM backends, and clarifies common misconceptions about failure handling and timeout settings.

BackendNginxfail_timeout
0 likes · 6 min read
How Nginx’s max_fails and fail_timeout Really Work: A Hands‑On Demo
Open Source Linux
Open Source Linux
Apr 29, 2020 · Operations

Master Nginx Load Balancing: From Concepts to Full Configuration

This article explains Nginx's role as an HTTP, reverse‑proxy, and mail server, introduces load‑balancing concepts, details the upstream and proxy modules, compares scheduling algorithms, and provides step‑by‑step configuration examples with code snippets to set up a functional load‑balancing environment.

NginxServerload balancing
0 likes · 16 min read
Master Nginx Load Balancing: From Concepts to Full Configuration
MaGe Linux Operations
MaGe Linux Operations
May 19, 2018 · Operations

Why Nginx Community Health Checks Fail and How to Diagnose Them

This article examines the weak health_check mechanism of open‑source Nginx, demonstrates a test setup with two Tomcat backends, analyzes access and error logs to show how Nginx retries failed servers, explains the role of max_fails, fail_timeout, and compares it with Nginx Plus features.

Nginxfail_timeouthealth check
0 likes · 10 min read
Why Nginx Community Health Checks Fail and How to Diagnose Them
Java High-Performance Architecture
Java High-Performance Architecture
Sep 4, 2015 · Backend Development

Master Nginx Load Balancing: Round Robin, Least Conn, Least Time, IP & Generic Hash

This guide outlines the five primary Nginx load‑balancing methods—Round Robin, Least Connections, Least Time (header or last_byte), IP Hash, and generic Hash—explaining how each algorithm works and showing the corresponding upstream configuration syntax for assigning server weights and parameters.

BackendHashLeast Connections
0 likes · 3 min read
Master Nginx Load Balancing: Round Robin, Least Conn, Least Time, IP & Generic Hash