linux后台运行Fastapi

nohup uvicorn main:app --host 0.0.0.0 --port 8666 --reload  > log.txt 2>&1 &
原文地址:https://www.cnblogs.com/tarzen213/p/15526051.html