Elastic Beanstalk-Django:500部署内部服务器错误

时间:2020-10-24 05:47:40

标签: django amazon-elastic-beanstalk

我的问题可能类似于其他stackoverflow的问题。我已经厌倦了每个问题的解决方案,但没有一个没有用。我已经创建了简单的Django应用,并且可以在本地正常运行。我的应用程序结构如下:enter image description here

这是我的.ebextensions django.config。

option_settings:
  aws:elasticbeanstalk:container:python:
    WSGIPath: DjangoElasticbeanstalkdeploy/wsgi.py

这是我的要求。txt

asgiref==3.2.10
Django==3.1.2
djangorestframework==3.12.1
pytz==2020.1
sqlparse==0.4.1

我用过default_platform: Python 3.6 running on 64bit Amazon Linux。我的环境Heath看起来不错。一切看起来对我来说都还不错,但是当我单击url时,出现此错误。

enter image description here

0 个答案:

没有答案