1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
//! `[proxy]` — the forward proxy every outbound client dials through.
use Deserialize;
/// Where this server's own outbound HTTP goes.
///
/// Process-wide, so deliberately absent from `PROFILE_SECTIONS`: egress is a
/// property of the network position the process runs in, not of one of the ACME
/// endpoints it serves. Two profiles cannot reach the internet differently.
///
/// There is no `enabled` key either — the presence of a URL is the switch, the
/// same shape as `ipam.backend = ""` and an unset `dns.resolver`. Every key
/// empty (the default) means every connection dials the origin directly.
///
/// Each key falls back to its conventional environment variable when left
/// empty; the precedence and the one variable deliberately *not* read are
/// documented on [`crate::proxy::OutboundProxies::from_config`].