uvicorn [fastapi] python run both HTTP and HTTPS – Nginx
I'm trying to run a fastapi app with SSL. I am running the app with uvicorn. I can run the server on port 80 with HTTP, if __name__ == '__main__': uvicorn.run("main:app", port=80, host='0.0.0.0', reload = True, reload_dirs = ["html_files"]) To…