我正在尝试在AWS Elastic beantalk中部署django项目。该项目部署良好,但是部署后转到url时出现500个内部服务器错误。我从错误日志中收到以下错误:
错误日志
mod_wsgi (pid=29607): Target WSGI script '/opt/python/current/app/DJ/wsgi.py' cannot be loaded as Python module.
.ebextensions / django.config
option_settings:
aws:elasticbeanstalk:container:python:
WSGIPath: DJ/wsgi.py
StaticFiles: /static/=static/
我该如何解决?