docs(gateway): describe what is, not what changed
Per review: docs represent current state. Every "used to" / "no longer" clause this branch introduced is gone — including the History section in network.md, which was a whole subsection about a sync mechanism that doesn't exist. Where the removed clause was carrying a real constraint, the constraint stays and is stated in the present tense instead of as a delta: nothing narrows what the gateway's nginx can reach except the directory permissions in front of a socket, and nothing bounds `ReloadGatewayNginx` except the hard-coded unit name. Those read as rules now rather than as the story of how they came to be rules.
This commit is contained in:
parent
07852cabc1
commit
98d895cf9e
15 changed files with 77 additions and 146 deletions
|
|
@ -172,9 +172,8 @@ pub async fn serve(
|
|||
/// `0o666` — world-accessible so the gateway's nginx process can
|
||||
/// `connect(2)` without sharing a group with the agent user. What bounds
|
||||
/// that is the per-agent subdir (`/run/hive-agent/<name>/`): the socket
|
||||
/// mode grants everyone, the directory decides who gets to ask. It used
|
||||
/// to be bind-mounted into the one container that needed it; nginx is a
|
||||
/// host unit now, so the directory's own permissions are the whole story.
|
||||
/// mode grants everyone, so the directory's permissions decide who gets
|
||||
/// to ask.
|
||||
///
|
||||
/// Marker-gating + the gateway-side consumer: see
|
||||
/// [`docs/gateway.md::Per-agent unix-socket upstream`](../../../docs/gateway.md).
|
||||
|
|
|
|||
Loading…
Reference in a new issue