Request Method Using Mixed case letters.

sanjay9999 nginx-forum at
Tue Jan 12 09:10:03 UTC 2021

I am using mixed case letters in request methods. nginx finalized http
request to 400 becuase as per the standard Request Method is case sensitive.
However it shows html response with last line showing "nginx". 

Our security team says "you should not disclose web server details in the
response for a request"
We have implemented solution to hide server name and version.

However, in this case control does not reach any of out server/location
block . so that I can override the 400 errror.

Please help it out.

Sanjay B Jain

Posted at Nginx Forum:,290451,290451#msg-290451

More information about the nginx mailing list