langserve
langserve copied to clipboard
SSL support for Langserve
Hello, I have langserve deployment working on HTTP however would like to serve on HTTPS end point. How can we enable support for SSL in Langserve?
Thanks.
LangServe only adds endpoints to an existing Fast API app. So it's more of a question of how to add https to a fast api application rather than langserve.
Fast API docs: https://fastapi.tiangolo.com/deployment/https/
When deploying with uvicorn you can add certificates like this: https://www.uvicorn.org/deployment/