tools: update inside LXC and use the existing proxy (#22)
Use the operator's HTTPS proxy with a private backend on port 5187. Limit the Proxmox host script to container creation and install a self-updating command inside the LXC. Preserve keys/history during legacy proxy migration and keep root updater code isolated from unprivileged build output. Closes #21
This commit was merged in pull request #22.
This commit is contained in:
@@ -7,7 +7,9 @@ There is no inference gateway. Coding traffic continues through the user's own c
|
||||
|
||||
## Run locally
|
||||
|
||||
For automatic CT creation from a Proxmox host, use the [Proxmox install/update script](proxmox.md).
|
||||
For automatic CT creation from a Proxmox host, use the [Proxmox installer](proxmox.md).
|
||||
It uses your existing HTTPS proxy and exposes private HTTP :5187; updates run inside the CT
|
||||
with `finaltoken-update`.
|
||||
|
||||
Build from the repository root:
|
||||
|
||||
@@ -51,7 +53,8 @@ By default it listens on `http://127.0.0.1:5187`. Open exactly that URL and ente
|
||||
For a remote deployment, set `FINALTOKEN_PUBLIC_ORIGIN` to the public HTTPS origin and run a TLS
|
||||
reverse proxy that preserves its Host header, or configure HTTPS directly in Kestrel.
|
||||
`ASPNETCORE_URLS` changes the listening address. Do not expose a plain HTTP listener to a remote
|
||||
network. No forwarded-header trust is enabled automatically. Restrict direct backend access;
|
||||
network. A private HTTP hop from your existing TLS proxy is supported; restrict that backend
|
||||
listener to the proxy/private network. No forwarded-header trust is enabled automatically. Restrict direct backend access;
|
||||
the reverse proxy must not log request bodies or authorization headers. Login URLs/codes are
|
||||
deliberately absent from server logs and disk state. TLS termination sees the transient code.
|
||||
Keys authorize all profiles on their configured machine; use service-account file/environment
|
||||
|
||||
Reference in New Issue
Block a user