IIS Django localhost открывает список каталогов

Я пытаюсь развернуть приложение Django на IIS.

После нескольких дней после того, как мне удалось окончательно заставить работать HTTP Platform Handler, я столкнулся с другой проблемой. Сейчас, когда я перехожу на локальный хост, я вижу список файлов моего приложения Django. Как сделать так, чтобы приложение Django запускалось сразу.

я использую HTTP Platform Handler.

enter image description here

<?xml version="1.0" encoding="UTF-8"?>
     <configuration>
         <system.webServer>
             <handlers>
                 <add name="httpplatformhandler" path="*" verb="*" modules="httpPlatformHandler" resourceType="Unspecified"
 requireAccess="Script" />
             </handlers>
             <httpPlatform startupTimeLimit="10" startupRetryCount="10" stdoutLogEnabled="true"
 processPath="C:\Python310\python.exe"
 arguments="manage.py runserver">
                 <environmentVariables>
                     <environmentVariable name="foo" value="bar"/>
                 </environmentVariables>
             </httpPlatform>
         </system.webServer>
     </configuration>
Вернуться на верх