【发布时间】:2013-03-23 17:20:42
【问题描述】:
我在使用 Python 的 AWS ElasticBean 上的 WSGIPath 有问题。当我设置:
option_settings:
- namespace: aws:elasticbeanstalk:container:python
option_name: WSGIPath
value: wsgi.py
我收到 WSGIPath not found 错误。当我简单地将我的 wsgi.py 重命名为 application.py 并将我的 .ebextensions/myconfig.config 中的 WSGIPath 配置更改为以下内容时,一切都会再次运行。
option_settings:
- namespace: aws:elasticbeanstalk:container:python
option_name: WSGIPath
value: application.py
有人知道吗?
【问题讨论】:
-
issue in the boto repo 对此非常有帮助。似乎它被 .elasticbeanstalk/optionsettings 覆盖了。
-
你解决过这个问题吗?
标签: amazon-web-services wsgi amazon-elastic-beanstalk