Skip to content

Document HTTPS pairing behind a proxy and moving the phone off http - #434

Merged
KodeStar merged 5 commits into
mainfrom
docs/fe568-https
Dec 2, 2026
Merged

KodeStar merged 5 commits into
mainfrom
docs/fe568-https

Conversation

@KodeStar

@KodeStar KodeStar commented Dec 2, 2026

Copy link
Copy Markdown
Owner

Docs for KodeStar/audiosilo-server#645 and KodeStar/audiosilo-frontend#577 (fe#568):

  • Pairing and invite links use https behind a peer in trusted_proxies that reports https (X-Forwarded-Proto or Forwarded: proto=); public_url still wins; the Bridge's pairing address stays direct; a proxy that rewrites Host should pass Host $host. Server configuration, API reference and the v2.7.0 API changelog (additive: only the value of base_url and the links changes), admin Server and Users and invites, first run, remote access.
  • Signing in again to the same server and account at its https address moves the phone's saved http connection to https, keeping downloads, places and settings; an http sign-in never replaces https; a local old http address can be kept as the home address. Connecting, remote access, and the developers' connect-and-addresses, state-and-data and cross-repo contract pages.
  • admin/settings-network.png regenerated with the new Trusted proxies help (the listen address reads 127.0.0.1:8890: the shot ran on another port).

Every changed sentence fact-checked against the code. Refs KodeStar/audiosilo-frontend#568

Pairing and invite links now use https behind a trusted TLS proxy (the
server's trusted_proxies, X-Forwarded-Proto or Forwarded proto), while the
Bridge's pairing address stays direct. Signing in again at a server's https
address moves the phone's saved http connection to https in place, keeping
downloads, places and settings. Refs KodeStar/audiosilo-frontend#568
The trusted-proxy header rule, the saved-address upgrade rule and the
Bridge server_url fallback were written out on several pages, and the
copies had already started to differ. Each now lives on one page and the
others link to it. The listener page keeps only what a listener sees.
The v2.7.0 changelog entry named only /auth/redeem and /auth/pair, but the
demo session's pairing and links.web/links.admin take the same base. The
reference also said other peers use the direct rules, leaving out a trusted
peer with no clear HTTPS report, and its Bridge example implied server_url
is the container name when it is the Host the proxy passes.
A same-scheme sign-in at a newly entered address also replaces serverUrl,
not only the HTTP to HTTPS upgrade. Trust appears only when the page came
through an untrusted proxy, and the HTTPS note only for a trusted one. The
public address is also the apps' away address, and trusted_proxies entries
must still be valid CIDRs.
The Network settings shot still showed the old help, which named only the
client IP header, while the page now explains that a trusted proxy's HTTPS
report makes invite links and QR codes use HTTPS.
@KodeStar
KodeStar merged commit f13b1d8 into main Dec 2, 2026
1 check passed
@KodeStar
KodeStar deleted the docs/fe568-https branch December 2, 2026 12:04
@github-project-automation github-project-automation Bot moved this to Done in AudioSilo Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant