diff --git a/setup.sh b/setup.sh index 4cc0013..7f18e6f 100644 --- a/setup.sh +++ b/setup.sh @@ -233,7 +233,7 @@ After=network.target User=$USER WorkingDirectory=$INSTALL_DIR Environment=\"PYTHONPATH=$INSTALL_DIR/source\" -ExecStart=$INSTALL_DIR/venv/bin/python -m uvicorn source.main:app --host 0.0.0.0 --port 8000 +ExecStart=$INSTALL_DIR/venv/bin/python -m uvicorn source.main:app --host 0.0.0.0 --port 8000 --proxy-headers Restart=always RestartSec=5