Skip to content

feat(core): ingress server listen on https and UDS http#307

Merged
bzp2010 merged 4 commits into
mainfrom
bzp/feat-ingress-server-more-listener
Jul 30, 2025
Merged

feat(core): ingress server listen on https and UDS http#307
bzp2010 merged 4 commits into
mainfrom
bzp/feat-ingress-server-more-listener

Conversation

@bzp2010
Copy link
Copy Markdown
Collaborator

@bzp2010 bzp2010 commented Jul 30, 2025

Description

Next part of #306.

Add support for TLS and mTLS listening; add support for UDS HTTP listening.

Add the following CLI flags:

--listen https://127.0.0.1:3000
--tls-cert-file xx.crt
--tls-key-file xx.key
--ca-cert-file xx-ca.crt
--listen unix:///tmp/adc-server.sock   ## listen on specified path and 0o666 permission

Note that when using UDS, the server is always HTTP and not HTTPS.

Checklist

  • I have explained the need for this PR and the problem it solves
  • I have explained the changes or the new features added to this PR
  • I have added tests corresponding to this change
  • I have updated the documentation to reflect this change
  • I have verified that this change is backward compatible

Comment thread apps/cli/e2e/server/basic.e2e-spec.ts Dismissed
Comment thread apps/cli/e2e/server/basic.e2e-spec.ts Dismissed
Comment thread apps/cli/e2e/server/basic.e2e-spec.ts Dismissed
@bzp2010 bzp2010 marked this pull request as ready for review July 30, 2025 05:27
Comment thread apps/cli/src/server/index.ts Outdated
@bzp2010 bzp2010 merged commit 0f275f5 into main Jul 30, 2025
21 checks passed
@bzp2010 bzp2010 deleted the bzp/feat-ingress-server-more-listener branch July 30, 2025 06:47
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.

3 participants