Skip to content
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

External ssl termination #93

Merged
merged 3 commits into from
Dec 21, 2019
Merged

External ssl termination #93

merged 3 commits into from
Dec 21, 2019

Conversation

JokerQyou
Copy link
Contributor

I've gone ahead and added a sslterminated option along with its UI. This allow the Telegram bot node to start a bare HTTP server, without the need to handle SSL-related stuff. It is suitable for some localtunnel-style architecture like this:

image

This way the SSL termination happens only on the cloud server, and could be easily integrated with Let's Encrypt.

This fixes #92 .

@windkh
Copy link
Owner

windkh commented Dec 21, 2019

First of all thanks for contributing!

I am not sure if the user will understand what terminate ssl means. I wonder if we should simply call the option useSsl and only if that is enabled the certificate will be taken ....
what do you mean?

Copy link
Owner

@windkh windkh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo: alredy

@windkh windkh merged commit 31d5116 into windkh:master Dec 21, 2019
@windkh
Copy link
Owner

windkh commented Dec 21, 2019

thanks alot

@JokerQyou
Copy link
Contributor Author

useSsl sounds a lot more better. If we're going to use this name, then we better make it defaults to true. We could just change the UI text and flip the boolean value.
Should I create another pull request, or are you going to change that yourself?

@windkh
Copy link
Owner

windkh commented Dec 21, 2019

I merged yours as it points out that it disables ssl for reverse proxy which is also clearly understandable. Thanks alot.

@JokerQyou JokerQyou deleted the external-ssl-termination branch December 22, 2019 00:18
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.

Key and certificate should be optional for webhook mode
2 participants