Welcome! Log In Create A New Profile

Advanced

Re: Limit Available Methods

Sergey A. Osokin
March 01, 2012 05:40AM
On Thu, Mar 01, 2012 at 05:18:48AM -0500, kamalakarv wrote:
> Want to limit OPTIONS and TRACE method from nginx server
>
> Referred following post( section #11)
> Disable certain HTTP methods at global level, below article will help
> us to restrict at server block level
> *
> http://www.cyberciti.biz/tips/linux-unix-bsd-nginx-webserver-security.html
>
> We want to disable at global level because our configuration consist of
> so many server blocks

The ngx_http_dav_module module processes HTTP and WebDAV methods PUT, DELETE,
MKCOL, COPY, and MOVE, i.e. no OPTIONS and TRACE methods.
You may specify WebDAV methods with dav_methods directive, see
http://nginx.org/en/docs/http/ngx_http_dav_module.html for details.

AFAIK OPTIONS method available with dav_ext third-party module
https://github.com/arut/nginx-dav-ext-module/

--
Sergey A. Osokin
osa@FreeBSD.org
osa@FreeBSD.org.ru

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Limit Available Methods

kamalakarv March 01, 2012 05:18AM

Re: Limit Available Methods

Sergey A. Osokin March 01, 2012 05:40AM

Re: Limit Available Methods

Maxim Dounin March 01, 2012 06:04AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 190
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready