Allow self-hosted relays to opt into wss://#767
Merged
Conversation
71352f1 to
81d3fac
Compare
81d3fac to
3575410
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
useTlsalongside relay endpoints in offers, persisted config, stored host connections, and pairing flows while preserving legacy relay IDs for non-TLS connections.wss://without changing endpoint semantics.PASEO_RELAY_USE_TLS=true,paseo daemon start --relay-use-tls, daemon status scheme display, and self-hosted nginx documentation.Closes #748
Refs #460
Test plan
npm run typechecknpm run lintnpm run build:daemonnpm run formatnpx vitest run packages/server/src/shared/connection-offer.test.ts --bail=1npx vitest run packages/server/src/server/persisted-config.test.ts --bail=1npx vitest run packages/app/src/types/host-connection.test.ts --bail=1npm run test --workspace=@getpaseo/app -- src/runtime/host-runtime.test.ts --bail=1npx vitest run packages/server/src/shared/daemon-endpoints.test.ts --bail=1npx vitest run packages/server/src/server/relay-transport.test.ts --bail=1npm run test --workspace=@getpaseo/app -- src/utils/test-daemon-connection.test.ts --bail=1npx vitest run packages/server/src/server/config-relay.test.ts --bail=1npx vitest run packages/cli/src/commands/daemon/local-daemon.supervision.test.ts --bail=1npx vitest run packages/relay/src/live-relay.e2e.test.ts --bail=1(live relay test is gated and skipped unlessRUN_LIVE_RELAY_E2E=1; local TLS cert harness intentionally not added)