remove site config from the load balancers
This block is part of the nginx group and was last modified in core v15.0.0.
remove site config from the load balancers v15.0.0 Remove a live site config and reload nginx, per node. The far side refuses when the remaining set would not validate without it, and archives rather than destroys.
- flow
flow - Site required
valueThe site to remove.
- Load balancers required
arrayWhere to remove. ONE node on a shared-fs fleet; every node on an independent fleet.
- flow
flow - Success
conditionTrue when every target node removed the site.
- Site
valueThe site that was removed.
- Results
arrayPer node: name, host, ok, output, exit_code.
- Applied count
numberHow many nodes removed it.
- Node count
numberHow many nodes were asked.
- Error
valueWhy the removal was refused or incomplete.
Removes a live site config, per node, through the fleet's validated contract: the far side first proves the REMAINING live set still passes nginx -t without this file (a site another config depends on stays live, with the reason in the per-node output), then archives the file : nothing is destroyed : and reloads. On a shared-filesystem fleet pass exactly one node, same convergence rule as nginxsite_push: the other nodes' watchers pick the removal up within seconds. On an independent fleet, list every node.
remove nginx site |
delete site config |
A typical wiring for remove site config from the load balancers: a function trigger starts the flow; value feeds the site pin; with values feeds the nodes pin; the flow out pin feeds debug.
Version history
Introduced in v15.0.0.
Back to
nginx Return to the main group to view all sub-groups Back to Load balancers Return to the group to view all blocks within this group 