AWS ElasticBean WSGIPath [英] AWS ElasticBean WSGIPath

查看:203
本文介绍了AWS ElasticBean WSGIPath的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个在AWS上ElasticBean与Python的WSGIPath一个问题。当我设置:

I have a problem with the WSGIPath on AWS ElasticBean with Python. When I set :

option_settings:
  - namespace: aws:elasticbeanstalk:container:python
    option_name: WSGIPath
    value: wsgi.py

我收到了 WSGIPath找不到错误。当我简单地重命名我wsgi.py到application.py和改变我的 .ebextensions / myconfig.config 的WSGIPath配置下,一切正常了。

I get a WSGIPath not found error. When I simply rename my wsgi.py to application.py and change the WSGIPath configuration in my .ebextensions/myconfig.config to the following, everything works again.

option_settings:
  - namespace: aws:elasticbeanstalk:container:python
    option_name: WSGIPath
    value: application.py

有没有人有任何线索?

Does anyone has any clue ?

推荐答案

我会建议部署配置文件后,用重命名的wigipath登录到EC2,由豆茎创建和检查wsgi.py真的存在于服务器上。你也ca的分析服务器日志。

I would recommend after deployment of your configuration file, with renamed wigipath to login to ec2, created by beanstalk and check wsgi.py really exists on server. Also you ca analyse server logs.

这篇关于AWS ElasticBean WSGIPath的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆