Skip to content

[Upstream] Improve [Startup Server] Support TLS #91

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Sagit-chu
Copy link
Owner

Synced from upstream PR: songquanpeng#2232

  • [+] feat(init.go): add TLS certificate and key command line flags
  • [+] feat(main.go): implement TLS support for the server with fallback to environment variables
  • [+] fix(main.go): improve logging messages for server start and error handling

Note

This improvement adds TLS support, which can be useful for cloud deployments, for example when deployed in Kubernetes that uses Ingress NGINX with HTTPS as the backend protocol.

- [+] feat(init.go): add TLS certificate and key command line flags
- [+] feat(main.go): implement TLS support for the server with fallback to environment variables
- [+] fix(main.go): improve logging messages for server start and error handling
@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 0% with 19 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
main.go 0.00% 18 Missing ⚠️
common/init.go 0.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

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