Exact matching finishes immediately; an ordinary longest prefix can still yield to a matching regex.

An nginx prefix is a candidate until matching finishes

An nginx location selects configuration for a request within the chosen server. For the flat prefix and regex locations tested here, an exact match finishes the search; otherwise nginx remembers the longest matching prefix and can then choose the first matching regex. If no applicable regex wins, the remembered prefix supplies the configuration. This is a selection process, not simply the first block encountered in the file. ...

January 17, 2028 · 5 min · XB Field Notes
Many servers announcing one address so routing selects the nearest one.

Anycast serves the nearest replica

Anycast gives an address several homes. Multiple sites announce the same prefix, and each network selects one usable path according to its BGP policy. A client usually lands at a topologically close replica without first contacting a global load balancer. When one site withdraws its announcement, the control plane can converge on another home. ...

November 1, 2027 · 5 min · XB Field Notes
Collapsing many adjacent network prefixes into one summary route.

BGP aggregation shrinks the routing table

Aggregation replaces a set of adjacent prefixes with one covering announcement, so every peer downstream stores one entry instead of dozens and stops processing updates for each component. The table gets smaller, and the churn of a flapping edge stops propagating outward. ...

October 8, 2027 · 4 min · XB Field Notes
The client can retain a valid default route while the server lacks a route for the reply.

A default route matches broadly; it does not rescue every failed path

An IPv4 default route is the prefix 0.0.0.0/0: it matches every IPv4 destination, with the least possible specificity. In a selected routing table, a longer matching prefix normally takes precedence. The default is not a procedure that retries whenever a more specific route fails. Routing policy selects relevant tables, and the chosen route describes a forwarding decision rather than promising that the entire round trip will succeed. ...

September 14, 2027 · 5 min · XB Field Notes
Routers across independent networks exchanging reachability and policy announcements.

BGP is the Internet routing table

BGP is the only protocol that stitches tens of thousands of independently operated networks into one forwarding table. It carries reachability, but what it really carries is policy: each network says which prefixes it originates, which neighbours it learned them from, and — through filters — which ones it is willing to pass on. ...

September 12, 2027 · 4 min · XB Field Notes
The proxy target’s URI component determines which part of the public path reaches the backend.

proxy_pass maps the URI as well as selecting an upstream

nginx proxy_pass chooses an upstream destination and also affects the request URI sent there. The important distinction is whether the directive includes a URI component, not simply whether its text ends with a slash. In an ordinary prefix location, a literal target URI replaces the matching normalized prefix. An authority-only target can pass the original request URI when the request has not been rewritten. ...

April 2, 2027 · 5 min · XB Field Notes