弹性豆秆,Django和wsgipath

时间:2020-09-19 15:08:27

标签: django amazon-web-services amazon-elastic-beanstalk django-wsgi

我在django elasticbeanstalk部署中发现WSGIPath有问题。

我的.ebextensions文件夹位于根目录中,我的django.config文件包含以下内容:

option_settings:
  aws:elasticbeanstalk:container:python:
    WSGIPath: shofidecksite.wsgi:application

现在有些事情是shofidecksite所在的代码应该是什么。

我尝试了以下操作:

shofidecksite,这是Django项目的名称

再次

shofidecksite,这是Elasticbeanstalk应用程序名称

shofi-env是环境名称

我不断收到错误消息:ERROR Your WSGIPath refers to a file that does not exist.

我很难弄清楚我想要什么。

为了获得更多的笑声和清晰度,这是我的路线的屏幕截图

enter image description here

任何人都可以为此添加些灯光

0 个答案:

没有答案