NAXSI directive for fixing this error
cubicdaiya
nginx-forum at nginx.us
Mon Nov 9 10:41:18 UTC 2015
Hello.
2015-11-07 20:42 GMT+09:00 Anoop Alias <anoopalias01 at gmail.com>:
> #####################
> nginx: [emerg] could not build the wlr_url_hash, you should increase
> wlr_url_hash_bucket_size: 512
> nginx: [emerg] $URL hashtable init failed in /etc/nginx/nginx.conf:87
> nginx: [emerg] WhiteList Hash building failed in /etc/nginx/nginx.conf:87
> nginx: configuration file /etc/nginx/nginx.conf test failed
> #######################
>
> Cant seem to find the directive to increase this wlr_url_hash_bucket_size
.
Maybe wlr_url_hash_bucket_size is not a directive but the size of a hash
table named wlr_url_hash and implemented on naxsi.
refs -> http://hg.nginx.org/nginx/file/tip/src/core/ngx_hash.c#l273
As far as seen the source code, the bucket size of wlr_url_hash is
hard-coded as 512.
https://github.com/nbs-system/naxsi/blob/master/naxsi_src/naxsi_utils.c#L569-#L573
https://github.com/nbs-system/naxsi/blob/master/naxsi_src/naxsi_utils.c#L591-#L598
Why don't you try increase this?
Posted at Nginx Forum: https://forum.nginx.org/read.php?2,262644,262659#msg-262659
More information about the nginx
mailing list