App uses nginx buildpack where the Server response header is present. Users need to completely remove the Server response from the response header.
Usually setting more_clear_headers will clear the Server header. However the more_clear_headers do not come with standard nginx. It needs a 3rd party module to be compiled into nginx as the documentation shows here. If you want to use more_clear_headers with the NGINX buildpack, you can use openresty instead of the standard nginx distribution which is provided in the buildpack. To do so, simply have a buildpack.yml file as follows.
--- |