Django App Server Error 500

Hello everyone!

I’m tottaly new to CyberPanel and OpenLiteSpeed.

I have an Django website and I’m trying to deploy on OpenLiteSpeed, I follow many tutorials to create:

  • an virtual env,
  • install all packages
  • configure de context on virtual host

On my


STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, 'static-files')

My Context from Virtual Host:

## App Server Context Definition

URI : /
Location - /home/<my-domain>/public_html/<my-app-folder>
Binary Path -  /usr/local/lsws/fcgi-bin/lswsgi|
Application Type - WSGI|
Startup File - <my-app-folder>/|


When I try to access my site:

## Internal Server Error
An internal server error has occured.

Is there any to log to know what’s going on here?

A also try to create sample Django project and the error 500 still happening.

Would be great to know what settings I can check.

thank you so much and sorry for my english.