Skip to content

Say that RPC and Horizon run behind a reverse proxy or load balancer - #3167

Merged
tamirms merged 3 commits into
mainfrom
rpc-horizon-behind-proxy
Nov 23, 2026
Merged

tamirms merged 3 commits into
mainfrom
rpc-horizon-behind-proxy

Conversation

@tamirms

@tamirms tamirms commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

Both admin guides now ask operators to put the service behind an HTTP reverse proxy or load balancer that terminates TLS and enforces per-client rate limits, connection limits and timeouts. Both pages also no longer claim Windows support. Horizon's TLS options go away with stellar/stellar-horizon#261.

🤖 Generated with Claude Code

Both admin guides now ask operators to put the service behind an HTTP
reverse proxy or load balancer that terminates TLS and enforces per-client
limits and timeouts. Both pages also no longer claim Windows support.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mintlify

mintlify Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
stellar-docs 🟢 Ready View Preview Nov 23, 2026, 9:32 PM

@kaankacar

Copy link
Copy Markdown
Contributor

/triage

@stellar-doxie stellar-doxie Bot added the bot:needs-decision Bot needs a maintainer decision (listing, scope, policy) label Nov 20, 2026
@stellar-doxie

stellar-doxie Bot commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

🤖 Automated message from Doxie.

Reviewing because @kaankacar asked with /triage.

The Horizon page says --tls-cert and --tls-key "are removed in the next release". That removal is stellar/stellar-horizon#261, which is still open. Merge this after #261 ships (and name the version), or drop that sentence for now? @kaankacar @ElliotFriend

Also: Horizon v30.0.1 still ships a Windows build. @tamirms, please confirm that dropping the Windows claim is intended.

Needs a decision.

What I checked
  • Checked against stellar-horizon v30.0.1, stellar-rpc v30.0.1 (newest) and stellar-core v30.0.0. The PR pins none.
  • X-Forwarded-Proto sets the link scheme: stellar-horizon@v30.0.1 internal/context/context.go:42-43.
  • --tls-cert / --tls-key still exist: stellar-horizon@v30.0.1 internal/flags.go:594-606. Removal is in Remove built-in TLS termination stellar-horizon#261 (open, not merged).
  • RPC serves plain HTTP and has no TLS option: stellar-rpc@v30.0.1 cmd/stellar-rpc/internal/rpcv1/daemon/daemon.go:432 (http.Server), rpcv1/config/options.go (no TLS setting).
  • nginx buffers proxied responses by default: nginx.org ngx_http_proxy_module, proxy_buffering on;.
  • Windows: releases list horizon-v30.0.1-windows-amd64.zip; stellar-core@v30.0.0 README.md:13 says it "runs on Linux, OSX and Windows". stellar-rpc ships no binaries.
  • Preview: both pages render (200) with the new text at 3a90636. All checks pass at that head.
  • Necessity: operators who expose Horizon or RPC directly get no TLS and no rate limits, and Horizon TLS users break on the upgrade after Building-Apps / Wallet: add Recovery SEP-30 instructions #261.
  • SWEEP: no other page names tls-cert, TLS_CERT or a Horizon or RPC TLS setup. No other "Linux and Windows" claim. horizon/admin-guide/upgrading.mdx:33 still says "powershell on Windows"; I left it until the Windows question is answered.
  • My push (3a90636), house-style fixes only:
    • Oxford commas in both new paragraphs (maintainer-style rule).
    • Root-relative link on the changed Horizon line (./installing to /docs/data/apis/horizon/admin-guide/installing).
    • The table's [c5d.xlarge] link was defined as [c5d.2xlarge] and rendered as plain text. I renamed the definition so the link works.
  • Hold issue: stellar/github-triage-bot#117.

@Shaptic Shaptic left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

besides the link issue, lgtm 👍

@stellar-doxie

stellar-doxie Bot commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

🤖 Automated message from Doxie.

Back on this because @Shaptic and @ElliotFriend commented.

Needs a decision.

What I checked
  • Head unchanged since my last review (3a90636). All checks pass at this head.
  • Remove built-in TLS termination stellar-horizon#261: still open, review required (rechecked 2026-11-23). Newest Horizon release is still v30.0.1, which keeps --tls-cert and --tls-key.
  • CONTRIBUTING.md:70 and :73: internal links are root-relative; no new relative links.
  • Preview: both prerequisites pages and the linked installing page return 200.
  • Hold issue: stellar/github-triage-bot#117 stays open.

… drops Horizon's TLS options

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AqbUZJwdERc6Y18Wiz4dQq
@tamirms
tamirms merged commit 5ecebda into main Nov 23, 2026
8 checks passed
@tamirms
tamirms deleted the rpc-horizon-behind-proxy branch November 23, 2026 21:40
@stellar-doxie

stellar-doxie Bot commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

🤖 Automated message from Doxie.

Back on this because @tamirms pushed and replied. @tamirms merged it at 16d7088 before I posted, so I pushed nothing.

What I checked
  • Remove built-in TLS termination stellar-horizon#261: merged into protocol-next 2026-11-23T21:21Z. protocol-next internal/flags.go:102-105 rejects --tls-cert and --tls-key. CHANGELOG lists it under Unreleased. Newest release v30.0.1 (internal/flags.go:594-606) still accepts them.
  • Merge commit 5ecebda on main matches head 16d7088 for both pages. The new Horizon text is live on developers.stellar.org.
  • All checks passed at 16d7088. Preview rendered both pages (200) at that head.
  • SWEEP: no other page in docs/, snippets/, openapi/ or openrpc/ names the Horizon TLS flags.
  • Hold issue stellar/github-triage-bot#117: closed. The PR is merged.

@stellar-doxie stellar-doxie Bot removed the bot:needs-decision Bot needs a maintainer decision (listing, scope, policy) label Nov 23, 2026

This branch was successfully deployed

1 active deployment
staging — 16d70885 Deployed Nov 23, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants