Change SERVER header in EAP6

I found no way to remove the Server header in EAP6. But there is a way to change its content. Just add the folling config to your standalone.xml:

<system-properties>
  <property name="org.apache.coyote.http11.Http11Protocol.SERVER" value="foo"/>
</system-properties>

Or with cli:

/system-property=org.apache.coyote.http11.Http11Protocol.SERVER:add(value=foo)

Then your header just is Server: foo instead.

Leave a Comment