【发布时间】:2016-12-03 15:29:34
【问题描述】:
我正在使用本教程: http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create-deploy-python-django.html
我在根目录下创建.ebextensions目录,并将这个django.config文件放入其中:
option_settings:
aws:elasticbeanstalk:container:python:
WSGIPath: mysite/wsgi.py
我也尝试将路径设置为mysite/mysite/wsgi.py,因为我在某处看到了该路径,但它对我没有帮助。
我所看到的每个地方都显示了一个不同的.config 文件,具有不同的排列,我不知道从这里去哪里。如何在 Elastic Beanstalk 中正确设置我的 WSGIPath?
【问题讨论】:
-
你有这个文件 .elasticbeanstalk/optionsettings 吗?
标签: python django amazon-web-services amazon-ec2 amazon-elastic-beanstalk