There is a very helpful guide on setting the OLS server for Flask and for Django, but I have not been able to find any similar guide for the fastapi. I followed the instructions on https://fastapi.tiangolo.com/, but I got:
[ERROR] [UID:65534][149926] wsgiHandler getApp [application] failed, pApp=(nil).
AttributeError: module 'wsgi' has no attribute 'application'
I followed the instructions at https://openlitespeed.org/kb/python-wsgi-applications/ for setting up the server for using a venv, and that worked.
Any help setting up fastapi on the OLS server would be appreciated.
[ERROR] [UID:65534][149926] wsgiHandler getApp [application] failed, pApp=(nil).
AttributeError: module 'wsgi' has no attribute 'application'
I followed the instructions at https://openlitespeed.org/kb/python-wsgi-applications/ for setting up the server for using a venv, and that worked.
Any help setting up fastapi on the OLS server would be appreciated.