Skip to content

HTTP methods

Here, you will find steps to configure conditions based on request method. These then can be used at multiple places such as rewrite/caching/blocking rules.

Typical use-case is, you would want to block TRACE, PATCH, CONNECT methods for security purpose.

Note: For demo purpose, we will be using www.nviztest.com domain as an example. Here, we will be creating method-group of TRACE, PATCH, CONNECT methods to block them.

Prerequisite

  1. You must have a domain configured on Nitrogen.

Steps

  1. Click on Settings menu, and open HTTP Methods tab.
    Step

  2. Create condition by clicking on Create button.
    You will now be taken to a screen to provide methods.

    1. Group Name: Provide short name about the IP condition you are creating.
      For now, put IP Blocklist here. Note: Please keep the name meaningful and relevant.

    2. Click on Add HTTP Method button.
      Select required method from HTTP Method dropdown. As an example, we will be selecting TRACE here.
      Note: You can multiple methods to the same condition by clicking on Add HTTP Method button.
      Step

  3. Click on Save button. The configured pattern will be showed in HTTP Method Groups list.

You can now use this condition at many places such as rewrite/caching/blocking rules.

Notes