link
fastapi/https

Enable HTTPS

Configure SSL/TLS

deployment
security

Command

Examples

Run with HTTPS

uvicorn main:app --ssl-keyfile key.pem --ssl-certfile cert.pem