From 1d63062954befe1724a967f43505c46ccf855d64 Mon Sep 17 00:00:00 2001 From: Pelagic Date: Sat, 13 Apr 2024 00:34:56 +0300 Subject: [PATCH] Fixed some overdue directive definitions to be correct. --- ngx_http_webdav_module.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ngx_http_webdav_module.c b/ngx_http_webdav_module.c index dfeb3af..257fbc8 100644 --- a/ngx_http_webdav_module.c +++ b/ngx_http_webdav_module.c @@ -123,15 +123,15 @@ static ngx_conf_bitmask_t ngx_http_dav_ext_methods_mask[] = { // The module directives definition static ngx_command_t ngx_http_dav_ext_commands[] = { - {ngx_string("dav_ext_lock_zone"), NGX_HTTP_MAIN_CONF | NGX_CONF_TAKE12, + {ngx_string("webdav_lock_zone"), NGX_HTTP_MAIN_CONF | NGX_CONF_TAKE12, ngx_http_dav_ext_lock_zone, 0, 0, NULL}, - {ngx_string("dav_ext_lock"), + {ngx_string("webdav_lock"), NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_CONF_TAKE1, ngx_http_dav_ext_lock, NGX_HTTP_LOC_CONF_OFFSET, 0, NULL}, - { ngx_string("dav_ext_methods"), + { ngx_string("webdav_methods"), NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_1MORE, ngx_conf_set_bitmask_slot, NGX_HTTP_LOC_CONF_OFFSET, @@ -152,7 +152,7 @@ static ngx_command_t ngx_http_dav_ext_commands[] = { offsetof(ngx_http_dav_ext_loc_conf_t, min_delete_depth), NULL }, - { ngx_string("dav_access"), + { ngx_string("webdav_access"), NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE123, ngx_conf_set_access_slot, NGX_HTTP_LOC_CONF_OFFSET,