diff options
| author | tv <tv@krebsco.de> | 2026-11-16 20:53:54 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-16 21:54:59 +0100 |
| commit | b4ddbaa1baddaec5411e172e0823b6f5016c5545 (patch) | |
| tree | e01a70665330afec7ca88151fc563ba7ee66ed76 /README.md | |
| parent | db25a69ff062f392810a418f17c999c80bd20842 (diff) | |
egress through nginx+lua, with path rules
OpenResty replaces the plain nginx SNI proxy, and egress.lua decides by
server name and the rules in /var/lib/fc-egress/allowed: DOMAIN passes
the domain and its subdomains through without decrypting; DOMAIN/PREFIX
decrypts, with certificates made on the fly from the host's own CA, and
only forwards requests whose path starts with PREFIX. Upstream is
always port 443 of the server name, as resolved by the host, and its
certificate gets verified. The rules get read on every connection, so
the path unit and reloads are gone.
The CA certificate gets published as /var/lib/fcbr0-egress/ca.pem, and
the guest trusts it when built on the host.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions
