Closed Psep closed 1 year ago
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 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.
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.
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 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.