Skip to content

subdomain #1684

Answered by JacobCoffee
MamadouSDiallo asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, we do not support host-based routing.

https://docs.litestar.dev/2/migration/fastapi.html#host-based-routing

Host based routing
Host based routing class is intentionally unsupported. If your application relies on Host you will have to separate the logic into different services and handle this part of request dispatching with a proxy server like nginx or traefik.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Alc-Alc
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