Fixed some overdue directive definitions to be correct.
This commit is contained in:
@@ -123,15 +123,15 @@ static ngx_conf_bitmask_t ngx_http_dav_ext_methods_mask[] = {
|
|||||||
// The module directives definition
|
// The module directives definition
|
||||||
static ngx_command_t ngx_http_dav_ext_commands[] = {
|
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_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_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF |
|
||||||
NGX_CONF_TAKE1,
|
NGX_CONF_TAKE1,
|
||||||
ngx_http_dav_ext_lock, NGX_HTTP_LOC_CONF_OFFSET, 0, NULL},
|
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_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_1MORE,
|
||||||
ngx_conf_set_bitmask_slot,
|
ngx_conf_set_bitmask_slot,
|
||||||
NGX_HTTP_LOC_CONF_OFFSET,
|
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),
|
offsetof(ngx_http_dav_ext_loc_conf_t, min_delete_depth),
|
||||||
NULL },
|
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_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE123,
|
||||||
ngx_conf_set_access_slot,
|
ngx_conf_set_access_slot,
|
||||||
NGX_HTTP_LOC_CONF_OFFSET,
|
NGX_HTTP_LOC_CONF_OFFSET,
|
||||||
|
|||||||
Reference in New Issue
Block a user