aws-samples / devsecops-cicd

MIT No Attribution
87 stars 137 forks source link

Error deploying java app to Elastic Beanstalk #13

Closed Psep closed 1 year ago

Psep commented 1 year ago

When I executed pipeline I had a error with deploy java app:

imagen

I checked the beanstalk log (eb-engine.log) and I found this error:

imagen

These configuration was added in last commit https://github.com/aws-samples/devsecops-cicd/commit/d5e85bd1ea2edad6e5573c3bcbae9fd7ca2f84c1. It seems that "server_tokens" setting already exists in the initial NGINX setup in Beanstalk so there is no need to add this again. I removed this from custom.conf file in my project and this worked for me.

aminaabsar commented 1 year ago

Were you able to resolve the issue ? I am facing the same issue.

Psep commented 1 year ago

Were you able to resolve the issue ? I am facing the same issue.

Yes. I did it.

Delete "server_tokens" line from your custom.conf file.