Kong exposes openresty version

I am raising this issue to check possible solutions for the issue where when we hit proxy endpoint with TRACE method kong returns error_code: 405 and also exposes openresty version.

Below are the actual request, response & other important details:-

Request: curl --location --request TRACE ‘http://localhost:8000/
Response:

405 Not Allowed

405 Not Allowed


openresty/1.13.6.2

Kong Version: 1.2.2
Setup: We’re running kong inside docker with cassandra as backend also we have provided kong_headers = off which will assign off status to server_tokens & latency_tokens