From 5229519878567652d11525367209645d51b35dfa Mon Sep 17 00:00:00 2001 From: bndw Date: Fri, 13 Feb 2026 21:22:46 -0800 Subject: fix: use port 443 for gRPC when behind reverse proxy When using --public-url, the gRPC endpoint is accessed via the reverse proxy on standard HTTPS port 443, not the internal port 50051. Update display to show correct public-facing port. --- cmd/relay/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd/relay/main.go') diff --git a/cmd/relay/main.go b/cmd/relay/main.go index a928238..8f879b2 100644 --- a/cmd/relay/main.go +++ b/cmd/relay/main.go @@ -56,8 +56,8 @@ func main() { // Set public URLs for index page var grpcDisplay, httpDisplay, wsDisplay string if *publicURL != "" { - // Use public URLs when behind reverse proxy - grpcDisplay = *publicURL + ":50051" // gRPC typically on different port + // Use public URLs when behind reverse proxy (port 443) + grpcDisplay = *publicURL + ":443" httpDisplay = "https://" + *publicURL wsDisplay = "wss://" + *publicURL } else { -- cgit v1.2.3