Skip to content

feature: support configurable FastAPI root path #760

@kkmarv

Description

@kkmarv

Describe the feature

I want to be able to host vLLM under a subpath (e.g. example.com/vllm) instead of dedicating a whole subdomain.

Why do you need this feature?

vllm serve supports configuring the FastAPI root path. The router should expose the same option so it can run under a subpath as well.

Additional context

https://docs.vllm.ai/en/stable/cli/serve/#-root-path

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions