Repository navigation
docs: cover the server's local address at home and the Local network address setting - #216
Conversation
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Docker ports and local-address configuration src/content/docs/docs/running-a-server/docker.md |
The guide describes the protocols served by Silo ports, multicast discovery limits in the default bridge network, and the Local network address setting. |
App local-address switching src/content/docs/docs/running-a-server/reverse-proxy.md |
The guide describes when signed-in Apple and Android apps use the local address for browsing, artwork, and video, and when they return to HTTPS. |
Priority:
Estimated code review effort: 1 (Trivial) | ~5 minutes
Change: Other
Suggested reviewers: zzebrahz
Merge Risk: 
Minimal · up to 48e0a
-
The documentation is ready to merge after normal checks; no actionable issue was established.
Architecture risk: 
Low · up to 48e0a
-
The change affects 1 system.
Changed systems:
srcArchitecture concerns
No architecture-level concerns identified.Review details
-
Systems and components
- observed — src (service) was modified; 2 changed files map to changed impact.
Before / after behavior
- observed — Modified behavior in src/content/docs/docs/running-a-server/docker.md: The port guidance now says
PORTserves HTTPS as well as HTTP using a self-signed certificate that browsers do not trust; it retains the existing compatibility-port and external-access guidance. - observed — Modified behavior in src/content/docs/docs/running-a-server/docker.md: The discovery guidance now states that the default bridge network does not pass multicast and that the default Compose file does not use host networking.
- observed — Modified behavior in src/content/docs/docs/running-a-server/docker.md: New guidance explains that when users sign in through an HTTPS address, setting Local network address lets apps switch to the local address at home. The setting takes effect without a restart; Android apps use it, and Apple apps use it with host networking.
- observed — Modified behavior in src/content/docs/docs/running-a-server/reverse-proxy.md: The guide adds app-specific local-address discovery and switching behavior: Apple and Android apps bypass the proxy for browsing, artwork, and video on Wi-Fi or wired networks, but not mobile data. The sign-in URL must be HTTPS at the hostname root; apps return to HTTPS when the network changes or the local address stops responding, and use it for sign-in and subtitles. Apple apps may request local-network permission.
-
Pre-merge checks: 
5
-
Check name Status Explanation Title check The title clearly and concisely describes the main documentation changes for local-network addresses and the Local network address setting. Description check The description is detailed and directly related to the documentation changes, affected pages, implementation behavior, validation, and scope. Linked Issues check Directly linked issue #215is open, so its documentation items apply. The diff at head (base 21175cd) covers each item:
1. Port note (docker.md, Ports): states thatPORTanswers HTTPS as well as pl…Out of Scope Changes check All changes are in two documentation files: docker.md and reverse-proxy.md. Each change is tied to the #215objectives on the local network address and the TLS-capablePORT.
The issue lists Android…Docstring Coverage No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0… Full details: Linked Issues check
-
Explanation
Directly linked issue
#215is open, so its documentation items apply. The diff at head (base 21175cd) covers each item:- Port note (docker.md, Ports): states that
PORTanswers HTTPS as well as plain HTTP. It says the certificate is self-signed, that browsers don't trust it, and that the Silo apps check it. It keeps the HTTPS guidance for access from outside the network. Jellyfin and Audiobookshelf are stated as plain HTTP only. - Discovery section (docker.md): tells users on the default bridge network to set Local network address to the Docker host's LAN IP and the
PORTvalue, with the examplehttp://192.168.1.20:8090. It states that no restart is needed. The paragraph applies when people sign in with an HTTPS address. That condition matches the reverse-proxy text, where switching requires an HTTPS saved address. It is a narrowing of the issue's wording, not a contradiction. - Reverse-proxy section (reverse-proxy.md, Other addresses clients use): describes automatic switching to the local address at home for signed-in Apple apps. It names the Connected on your local network status in the server list. It requires an HTTPS saved address. It states that the connection goes directly to Silo, not through the proxy.
- configuration.md check: the file at head has no list of General settings. It points to Admin > Settings only. The PR's statement that nothing needed adding there is confirmed.
The Apple and Android behavior described in the pages cites external PRs (silo-apple#804, silo-android#598) and their source files. Those files are not in this checkout, so the factual accuracy of those app-behavior claims is not verified here. This does not change the result: the issue requirements are documentation content, and the content is present.
- Port note (docker.md, Ports): states that
Full details: Out of Scope Changes check
-
Explanation
All changes are in two documentation files: docker.md and reverse-proxy.md. Each change is tied to the
#215objectives on the local network address and the TLS-capablePORT.The issue lists Android switching as out of scope, citing silo-android#591 and the statement that Android apps don't switch yet. The PR description states that silo-android#598 has merged and that Android behavior is documented. The Android text sits in the same paragraphs as the Apple text and describes the same feature. It is not an unrelated change. The out-of-scope note in
#215appears stale relative to the PR's stated state. This was not verified in the repository. The maintainer should confirm that the Android text matches the merged state.The Web and Jellyfin-compatible apps are not changed, as the issue requires. No other files changed in the reviewed diff.
Full details: Docstring Coverage
-
Explanation
No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (2 skipped: 2 unsupported.)
-
Finishing Touches
-
🧪 Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Comment @coderabbitai help to get the list of available commands.
Silo Kody — review completeReview finished. Check the inline comments for findings and verify each suggestion against the code and tests. Reviewing changes in Silo
Review settingsReview OptionsThe following review options are enabled or disabled:
|
|
Draft until Silo-Server/silo-android#598 is merged into main. Silo-Server/silo-server#2532 and Silo-Server/silo-apple#804 are merged. The docs describe all three, and #598's labels or behavior may still change in review. |
|
Preview removed after this pull request was closed. Its address now redirects to siloserver.org, though some visitors may still see the old preview for a while. |
Silo Kody — review completeReview finished. Check the inline comments for findings and verify each suggestion against the code and tests. Reviewing changes in Silo
Review settingsReview OptionsThe following review options are enabled or disabled:
|
|
Ready for review: Silo-Server/silo-android#598 merged as 578eedf10. The review thread checks these pages against current main before this merges. |
…ess setting Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The Android apps now move to the server's local address at home (Silo-Server/silo-android#598). They find it from Local network address only, so the Docker page no longer says the setting can stay empty with host networking, and the reverse-proxy page says the apps switch only on Wi-Fi or a wired network. Co-Authored-By: Claude Opus 5.5 <[email protected]>
bf476c7 to
48e0a1b
Compare
Silo Kody — review completeReview finished. Check the inline comments for findings and verify each suggestion against the code and tests. Reviewing changes in Silo
Review settingsReview OptionsThe following review options are enabled or disabled:
|
Problem
Closes #215
The docs say all three Silo ports run without TLS, and they don't cover the server's local address at home. Silo-Server/silo-server#2532 makes the Silo API port answer HTTPS as well as plain HTTP and adds the Local network address setting. Silo-Server/silo-apple#804 lets signed-in Apple apps move to the server's local address while they're at home, and Silo-Server/silo-android#598 does the same for the Android phone and TV apps.
Silo-Server/silo-server#2532, Silo-Server/silo-apple#804 and Silo-Server/silo-android#598 are merged.
Pages changed
PORTalso answers HTTPS, with a self-signed certificate the Silo apps checkWhat changed on each page
Connect securely outside your home
Worth checking: the sign-in and subtitle sentences go a little past the wording in #215. On Apple,
HTTPClient.sendkeeps/api/v2/auth/on the saved address andStreamRequestkeeps subtitle routes there (silo-apple#804). On Android,LocalRouteInterceptornever routes/api/v2/auth/, and sidecar subtitles load through a data source that never takes the route (silo-android#598). The Apple permission prompt is listed under silo-apple#804's Risks; Android has no such prompt. The Android apps list servers from the announcement when someone adds one, but their switch to the local address doesn't use it (LocalRouteController.kt: "Android does not browse_silo._tcpadverts yet"), so the page says where each app finds the address.Docker deployment reference
PORTanswers HTTPS as well as plain HTTP. Its certificate is self-signed, so browsers don't trust it, but the Silo apps check that it belongs to your server. The Jellyfin and Audiobookshelf ports use plain HTTP only.http://192.168.1.20:8090and says the change applies without a restart. It ends: the Android apps find the local address from this setting, and with host networking the Apple apps also find it from the announcement.Worth checking: I wrote the paragraph for people who sign in with an HTTPS address, not for everyone on the bridge network. The apps only switch when the saved address is HTTPS (
LocalRouteController.server(for:)on Apple,LocalRouteController.serverForon Android), so a household that signs in withhttp://192.168.1.20:8090gains nothing from the setting. The earlier "with host networking the setting can stay empty" came out: the Android apps need the setting even then.Left out on purpose
SECRET_KEY, the pin inlocal_routeofGET /api/v2/system/connections, and the identity check. No other admin page goes that deep.configuration.md. It has no list of General settings, only a pointer to Admin > Settings, so docs: apps use the server's local address at home, and the Local network address setting #215's check found nothing to add there.requiresfield. The release that ships this isn't known yet.Evidence
Reviewed against source. All three pull requests are merged: silo-server#2532 (
0e2f5b27), silo-apple#804 (518c6a41) and silo-android#598 (578eedf10). Rechecked onorigin/main: silo-serveraed330224, silo-apple79a3de25, silo-android0545b85de. Later commits to the cited files (silo-apple604af281and9f8f7caf, silo-androidff8798987) don't change the documented behavior. The Android text was also checked against silo-android#598's live run on Android phone and TV emulators against a sandbox.da511bf5c(main atc1c4b92bf)cmd/silo/main.go: only the API listener answers TLS.internal/lantlsinternal/config/admin_settings.go:server.local_url, empty by default, origin only, read on each request.internal/config/restart_keys.go: the setting doesn't need a restart.web/src/pages/admin-settings/GeneralSettings.tsx: label and description.web/src/lib/adminNavigation.ts: the General page sits under Server.internal/apiv2/system_identity.godocs/architecture/server-identity.md("Local network TLS") anddocs/architecture/server-discovery.mddocker-compose.yml:PORTmaps to the API listener on 8080.ab06de6eand rechecked at headf3baa1b4(main atc3d827be). The one newer commit stops route checks on cellular behind a VPN and doesn't affect the docs.LocalRouteController.swift: HTTPS saved address without a path, candidates, fallback on network change or failure.LocalRoute.swiftHTTPClient.swiftStreamRequest.swiftServerListView.swift: the status text.Info.plistlocal network usage strings.e78c0125(main atb5bf8599e)shared/.../localroute/LocalRouteController.kt: HTTPS saved address without a path, candidates from Local network address and the address that last worked, Wi-Fi or Ethernet only.shared/.../localroute/LocalRouteInterceptor.kt: sign-in paths never routed; fallback to the HTTPS address.android-shared/.../player/SiloPlayerFactory.kt: sidecar subtitles stay on the HTTPS address.ServerListScreen.kt,TvServerListScreen.ktandLocalRoute.STATUS_TEXT: the status text.Needs a hands-on check:
Evidence: https://evidence.siloserver.org/r/siloserver-org/local-network-route/
Follow-ups
Risks
None identified. Documentation only.
Checklist
AI Disclosure
🤖 Generated with Claude Code
Note
Document local-network address switching and the Local network address setting
Adds docs for how signed-in apps switch to the server's local address at home.
PORTserves HTTPS (self-signed) and plain HTTP, expands the mDNS discovery section, and adds setup steps for the Local network address setting, including the no-restart note and Android/Apple behavior.Macroscope summarized bf476c7.