docs: swarm services publish Grafana's /metrics to the collector
The gateway no longer has a loopback-only vhost, so the TLS section drops the paragraph that named `grafana-metrics` as its one instance.
This commit is contained in:
parent
54f6061d41
commit
8abea789fd
2 changed files with 5 additions and 2 deletions
|
|
@ -52,8 +52,6 @@ The gateway always terminates TLS. Which certificate it serves depends on what y
|
|||
|
||||
`tls.certDir` together with `tls.acme.enable` fails an assertion — pick one.
|
||||
|
||||
⚠️ One vhost class has no TLS: a vhost bound to loopback for a local consumer. `grafana-metrics` (`nix/host-modules/swarm-grafana.nix`) is the one in the tree: it listens on `127.0.0.1` only and serves `= /metrics` from grafana's unix socket for this host's collector. The published `grafana.<swarm>` vhost answers `/metrics` with 403. Everything with a routable name follows the table above.
|
||||
|
||||
### ACME / Let's Encrypt (`tls.acme`)
|
||||
|
||||
The simplest production path for a public domain:
|
||||
|
|
|
|||
Loading…
Reference in a new issue