httpd in s2i image displays apache version info
Issue
- When deployed new app by s2i image RH provided, the application displays apache version info
$ oc new-app https://github.com/openshift/sti-php.git --context-dir=5.5/test/test-app -l app=php --strategy=source
$ curl --head 10.131.0.79:8080
...
Server: Apache/2.4.27 (Red Hat) <- HEADER CONTAINS APACHE VERSION
- It is not good idea for security policy to display the version info. How to hide this version info?
Environment
- OpenShift Container Platform
- 3.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.