Disabling HTTP Methods in NGINX
Issue
- How to disable HTTP methods in NGINX?
- How to disallow HTTP methods in NGINX?
- For security reasons we would like to disable certain HTTP methods (PUT, DELETE, TRACE and OPTIONS) in NGINX. Is there a way to do this on NGINX configuration?
- How to disable HTTP TRACE/OPTIONS method?
Environment
- Red Hat Enterprise Linux (RHEL)
- Red Hat Software Collections (RHSCL)
- NGINX Webserver
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.