Skip to content

Latest commit

 

History

History
14 lines (14 loc) · 650 Bytes

File metadata and controls

14 lines (14 loc) · 650 Bytes
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.

  1. Select Configuration under the Settings heading in the menu on the left side of the page.
  2. Make sure the General settings tab is selected.
  3. In the Startup Command field, enter gunicorn -w 2 -k uvicorn.workers.UvicornWorker -b 0.0.0.0:8000 main:app.
  4. Select Save to save your changes.
  5. Wait for the notification that the settings are updated before proceeding.