【发布时间】:2019-03-06 22:44:55
【问题描述】:
我已经浏览了这里的每个线程,并尝试了所有我能想到的方法。我正在关注 AWS 部署 django 教程并不断收到此错误
错误您的 WSGIPath 引用了一个不存在的文件。
我使用 eb config 将文件编辑到与 django.config 中相同的路径,即 endjango/wsgi,但我尝试过的没有任何效果。还尝试将其用引号括起来,但这也不起作用。
这是我的文件 django.config
option_settings:
"aws:elasticbeanstalk:container:python":
WSGIPath: ebdjango/wsgi.py
Config.yml
branch-defaults:
default:
environment: django-env
group_suffix: null
global:
application_name: django-tutorial
branch: null
default_ec2_keyname: aws-eb
default_platform: python-3.6
default_region: us-east-1
include_git_submodules: true
instance_profile: null
platform_name: null
platform_version: null
profile: eb-cli
repository: null
sc: null
workspace_type: Application
【问题讨论】:
标签: python django python-3.x amazon-web-services