How to Filter Unnecessary POST Requests When Using the NGINX Module?

Issue: Unnecessary POST requests can be scanned when using the NGINX module, potentially impacting performance.

Resolution: Filter unnecessary POST requests by defining location matches in the NGINX configuration. This allows selective scanning while bypassing specific paths.

Configuration Example:

To scan all requests except /o/oauth2/token and /c/portal/saml/acs, use the following configuration in the nginx.conf file located in /etc/nginx/nginx.conf

HTML
Copy

Workarounds: The following tool can be used to verify location configuration: <https://nginx.viraptor.info/>

Related Articles:

Also, the following tool can be used to verify location config: https://nginx.viraptor.info/

There are more details on the following links: Module ngx_http_core_module and Guide on how to use regex in Nginx location block section?

If Further Assistance is required, please proceed to log a support case or chatting with our support engineer.

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard