title: SpringBoot fails to deploy after adding .ebextensions for ngingx SSL -[An error occurred during execution of command [app-deploy]]
body: <p>I have a SpringBoot app that deploys just fine to AWS Beanstalk, and the default nginx proxy works, allowing me to connect via port 80. </p>
  
  <p>Following the instructions here: <a href="https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/https-singleinstance.html" rel="nofollow noreferrer">https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/https-singleinstance.html</a>, and verifying with another of my projects that works with this exact config, Beanstalk fails to deploy the app with error: </p>
  
  <p><code>2020/05/29 01:27:56.418780 [ERROR] An error occurred during execution of command [app-deploy] - [CheckProcfileForJavaApplication]. Stop running the command. Error: there is no Procfile and no .jar file at root level of your source bundle</code></p>
  
  <p>The contents of my war file are as such:</p>
  
  <pre><code>app.war
      -.ebextensions
          -nginx/conf.d/https.conf
          -https-instance-single.config
          -https-instance.config
      -web-inf/
  </code></pre>
  
  <p>My config files pass as valid yaml files. (These files are identical to those in the AWS doc, and those that work in other project on mine.)</p>
  
  <p>I am using a single instance, with port 443 set open.</p>
  
  <p>These are the errors reported throughout the various log files:</p>
  
  <pre><code>----------------------------------------
  /var/log/eb-engine.log
  ----------------------------------------
  2020/05/29 01:37:53.054366 [ERROR] /usr/bin/id: healthd: no such user
  ...
  2020/05/29 01:37:53.254965 [ERROR] Created symlink from /etc/systemd/system/multi-user.target.wants/healthd.service to /etc/systemd/system/healthd.service.
  ...
  2020/05/29 01:37:53.732794 [ERROR] Created symlink from /etc/systemd/system/multi-user.target.wants/cfn-hup.service to /etc/systemd/system/cfn-hup.service.
  
  
  ----------------------------------------
  /var/log/cfn-hup.log
  ----------------------------------------
  ReadTimeout: HTTPSConnectionPool(host='sqs.us-east-1.amazonaws.com', port=443): Read timed out. (read timeout=23)
  </code></pre>