-
Notifications
You must be signed in to change notification settings - Fork 42
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
Backend: Enable two ports for HTTP and HTTPS #268
Milestone
Comments
Basically we need an implementation like this. https://marcofranssen.nl/build-a-go-webserver-on-http-2-using-letsencrypt#tldr |
Took a stab at it #282 |
The image crashes, needs fixing |
maia-iyer
added a commit
that referenced
this issue
Jul 10, 2023
* Fix HTTP/HTTPs config errors Signed-off-by: Maia Iyer <maia.raj.iyer@gmail.com> * Apply suggestions from code review Signed-off-by: Maia Iyer <maia.raj.iyer@gmail.com> Co-authored-by: Mariusz Sabath <mrsabath@gmail.com> Signed-off-by: Maia Iyer <maia.raj.iyer@gmail.com> * Apply suggestions from code review Co-authored-by: Mariusz Sabath <mrsabath@gmail.com> Signed-off-by: Maia Iyer <maia.raj.iyer@gmail.com> --------- Signed-off-by: Maia Iyer <maia.raj.iyer@gmail.com> Co-authored-by: Mariusz Sabath <mrsabath@gmail.com>
mrsabath
added a commit
that referenced
this issue
Jul 13, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We should enable two ports:
When Tornjak is running HTTP connection and user connects on HTTPS port, the client should receive an error code such as "SSL/TLS handshake failure" or "unable to establish secure connection."
When Tornjak is running with TLS or mTLS connection enabled, and user connects to HTTP port, they should get a permanent redirect to HTTPS port.
Suggested configuration:
When optional values provided, but not set correctly, Tornjak throws an error message and exits.
When connection successfully started, Tornjak console logs a status message.
The text was updated successfully, but these errors were encountered: