| author | JimacoMS4 |
|---|---|
| ms.author | v-jibrannian |
| ms.topic | include |
| ms.date | 07/02/2024 |
| ms.service | azure-app-service |
First, configure the startup command in Azure App Service. Navigate to the page for the App Service instance in the Azure portal.
- Select Configuration under the Settings heading in the menu on the left side of the page.
- Make sure the General settings tab is selected.
- In the Startup Command field, enter gunicorn -w 2 -k uvicorn.workers.UvicornWorker -b 0.0.0.0:8000 main:app.
- Select Save to save your changes.
- Wait for the notification that the settings are updated before proceeding.