Error deploying java app to Elastic Beanstalk
Psep opened this issue · 2 comments
Psep commented
When I executed pipeline I had a error with deploy java app:
I checked the beanstalk log (eb-engine.log) and I found this error:
These configuration was added in last commit d5e85bd. 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
Were you able to resolve the issue ? I am facing the same issue.
Psep commented
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.