Skip to content
Discussion options

You must be logged in to vote

No that is not true, axum can be run over HTTPS. Check out the low-level-rustls and tls-rustls examples.

axum is a bit special in that it doesn't come with its own HTTP server (axum::Server is just a re-export of hyper::Server). Hyper is generic over the underlying transport, ie it can run on any AsyncRead + AsyncWrite. That can be a plain HTTP stream or one that is encrypted.

Generally speaking axum is compatible with any server that supports tower::Service.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by davidpdrsn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants