FastApiExample

Description

Intended as a POC for running FastApi Python application on Windows Server with IIS as reverse proxy.

How it works

When executed PythonWebServer.ps1 will clone this repo and create a windows service that runs uvicorn. Then sets up IIS and reconfigures it to act as a reverse proxy for that Windows service. With a SSL certificate and respective binding IIS will act as SSL terminator. Additionally a http to https redirect could be configured.

Tested on Windows Server 2019 Datacenter edition

Related Articles