Replies: 2 comments
-
This has nothing to do with axum, as axum doesn't handle TLS. If you are using axum-server, that's an independent crate with its own repository. |
Beta Was this translation helpful? Give feedback.
0 replies
-
you can handle this in TLS |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
This is not directly related to Axum.
Without using an intermediate layer like a reverse proxy (e.g., Nginx), directly accessing the HTTPS port via IP will expose the corresponding domain name. There are no relevant examples in the repository that address this issue.
This might be similar to "load TLS certificates to be used for the request based on the hostname."
I hope he returns another self-signed certificate or doesn't return a certificate at all.
Beta Was this translation helpful? Give feedback.
All reactions