satisfy problem
Oleksandr V. Typlyns'kyi
wangsamp at gmail.com
Fri Apr 8 04:08:47 MSD 2011
Today Apr 8, 2011 at 07:52 lhmwzy wrote:
> I have found the reason:
> when install the module named nginx-accesskey-2.0.3,then the bug will appear.
It return NGX_OK when not configured.
Fix:
--- ../nginx-accesskey-2.0.3/ngx_http_accesskey_module.c.orig 2007-12-30
+++ ../nginx-accesskey-2.0.3/ngx_http_accesskey_module.c 2010-07-18
@@ -125,7 +125,7 @@
alcf = ngx_http_get_module_loc_conf(r, ngx_http_accesskey_module);
if (!alcf->enable) {
- return NGX_OK;
+ return NGX_DECLINED;
}
if (!alcf->signature_lengths || !alcf->signature_values) {
More information about the nginx
mailing list