Home [FastAPI] HTTPS 적용
Post
Cancel

[FastAPI] HTTPS 적용

https://fastapi.tiangolo.com/deployment/https/

1
2
3
4
5
6
uvicorn.run("app.main:app",
            host="0.0.0.0",
            port=8432,
            reload=True,
            ssl_keyfile="./key.pem", 
            ssl_certfile="./cert.pem"

Reference

  • https://dev.to/rajshirolkar/fastapi-over-https-for-development-on-windows-2p7d
This post is licensed under CC BY 4.0 by the author.

[React Native] ios siulator 실행

Certbot으로 HTTPS 적용을 위한 키 생성