Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,960 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I successfullu deployed my Fastapi app in Azure.. But I get the above message intead of my API page
Hello @Mahin M
Here are a few things you can try to resolve your issue:
<configuration>
<appSettings>
<add key="PYTHONPATH" value="." />
<add key="WSGI_HANDLER" value="app.main:app" />
<add key="WSGI_LOG" value="D:\home\LogFiles\wfastcgi.log" />
</appSettings>
</configuration>
if __name__ == "__main__":
block with uvicorn.run()
to start the server. This is required for Azure App Service.