亚马逊网络服务-Aurelia,Docker,Nginx,AWS Elastic Beanstalk显示502错误的网关

亚马逊网络服务-Aurelia,Docker,Nginx,AWS Elastic Beanstalk显示502错误的网关

我已经通过AWS ECR将Aurelia应用程序部署到AWS Elastic Beanstalk并遇到了一些困难. docker容器在本地运行时可以完美运行(有关Dockerfile,请参见下文).FROM nginx:1.15.8-alpine COPY dist /usr/share/nginx/html 部署效果很好,但是当我导航到AWS提供的终端节

python – ImportError:Elastic Beanstalk中没有名为django.core.wsgi的

python – ImportError:Elastic Beanstalk中没有名为django.core.wsgi的

我开始使用AWS的Elastic Beanstalk.我按照这个tutorial来部署一个Django / PostgreSQL应用程序.我在“配置数据库”部分之前做了所有事情.部署也很成功,但我收到内部服务器错误.这是日志中的追溯: mod_wsgi (pid=30226): Target WSGI script /opt/python/curr