2017-10-15 90 views
0

平台:java8(不tomcat的,因为我用弹簧启动,所以我使用嵌入的Tomcat)弹性魔豆.ebextensions配置文件不作文件

所以我拉上通过以下命令

zip -r app.zip app.jar .ebextensions

.ebextensions包含test.config文件。
files: "/etc/nginx/conf.d/test.conf": mode: "000644" owner: root group: root content: | client_max_body_size 10M;

我检查每个EC2实例,但不要让/etc/nginx/conf.d/test.conf
和我检查/var/log/eb-activity.log
[2017-10-15T05:12:32.538Z] INFO [2995] - [Application deployment [email protected]/StartupStage0/AppDeployPreHook] : Starting activity... [2017-10-15T05:12:32.538Z] INFO [2995] - [Application deployment [email protected]/StartupStage0/AppDeployPreHook/01_configure_application.sh] : Starting activity... [2017-10-15T05:12:33.164Z] INFO [2995] - [Application deployment [email protected]/StartupStage0/AppDeployPreHook/01_configure_application.sh] : Completed activity. Result: Executing: /usr/bin/unzip -o -d /var/app/staging /opt/elasticbeanstalk/deploy/appsource/source_bundle Archive: /opt/elasticbeanstalk/deploy/appsource/source_bundle inflating: /var/app/staging/map.jar inflating: /var/app/staging/Procfile creating: /var/app/staging/.ebextensions/ inflating: /var/app/staging/.ebextensions/test.config Executing: HOME=/tmp /opt/elasticbeanstalk/lib/ruby/bin/ruby /opt/elasticbeanstalk/lib/ruby/bin/foreman export supervisord --procfile /var/app/staging/Procfile --root /var/app/current --app application --log /var/log/ --user webapp --template /opt/elasticbeanstalk/private/config/foreman/supervisord --env /var/elasticbeanstalk/staging/elasticbeanstalk.env /var/elasticbeanstalk/staging/supervisor [foreman export] writing: application.conf Executing: /opt/elasticbeanstalk/bin/log-conf -n supervisor -l'/var/log/supervisord.log' -t bundlelogs Executing: /opt/elasticbeanstalk/bin/log-conf -n containerlistener -l'/var/log/eb-container-listener.log' -t bundlelogs

我找不到任何失败消息...

回答