How to hide Server Name HTTP header from Webrick (used in pcs/pcsd)?

Solution Verified - Updated -

Issue

  • pcsd exposes server information on its GUI and port number 2224
  • How to hide the following information from the output of: # curl --insecure -I https://<cluster-node-hostname>:2224
...
Server: wbrick/*.*.* (rby/*.*.*/YYYY-DD-MM) openTTl/x.x.xx
...

Environment

  • Red Hat Enterprise Linux 7 and 8 with High Availability Add-on
  • pacemaker
  • pcsd

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In