7 lines
162 B
Bash
7 lines
162 B
Bash
#!/bin/sh
|
|
# Start uvicorn in background
|
|
uv run uvicorn mysite.asgi:application --host 127.0.0.1 --port 8000 &
|
|
|
|
# Start nginx in foreground
|
|
nginx -g "daemon off;"
|