R

Ravina • 3.59K Points
Extraordinary

Q. How do you enable HTTPS in Uvicorn for FastAPI?

  • (A) --secure
  • (B) --https
  • (C) --ssl-keyfile and --ssl-certfile
  • (D) --ssl-mode
  • Correct Answer - Option(C)
  • Views: 9
  • Filed under category Fast API
  • Hashtags:

Explanation by: Ravina
Use `--ssl-keyfile` and `--ssl-certfile` to run FastAPI with HTTPS using Uvicorn.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.