Harden Apache SSL proxy and uvicorn запуск

Add HTTP->HTTPS redirect, SSL settings, and run uvicorn via Python module for compatibility.
This commit is contained in:
dsyoon
2026-01-30 14:39:36 +09:00
parent d5ae9c3c57
commit 7c226848cb
2 changed files with 14 additions and 5 deletions

View File

@@ -13,5 +13,5 @@ fi
python -m pip install -r requirements.txt
PORT="${PORT}" nohup uvicorn server.main:app --host 0.0.0.0 --port "${PORT}" > server.log 2>&1 &
PORT="${PORT}" nohup python -m uvicorn server.main:app --host 0.0.0.0 --port "${PORT}" > server.log 2>&1 &
echo "Server started (PID: $!). Logs: server.log"