-
Notifications
You must be signed in to change notification settings - Fork 253
feat(litserve): Add support for loading TLS certificates for the user #592
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
Conversation
for more information, see https://pre-commit.ci
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #592 +/- ##
===================================
Coverage 85% 85%
===================================
Files 39 39
Lines 3049 3069 +20
===================================
+ Hits 2588 2607 +19
- Misses 461 462 +1 🚀 New features to boost your workflow:
|
bhimrazy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. 🚀
| if host not in ["0.0.0.0", "127.0.0.1", "::"]: | ||
| raise ValueError(host_msg) | ||
|
|
||
| kwargs = add_ssl_context_from_env(kwargs) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥
What does this PR do?
This PR adds support for automatically loading TLS certificates within deployment if they are provided.
Demo:
Before submitting
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in GitHub issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃