Top Nav

Disable OPTIONS method in NGINX

To disable the OPTIONS method in Nginx add the following config:

The result can be tested with curl:

 

  • David Copper

    Thanks – is this added to the server_blocks files or elsewhere?

Email
Print