ngx_http_accesskey_module error

Grzegorz Nosek grzegorz.nosek at
Wed Oct 15 20:21:26 MSD 2008

On śro, paź 15, 2008 at 11:54:16 +0800, lhmwzy wrote:
> Use the full path
> ./configure --user=www --group=www --prefix=/usr/local/nginx
> --with-http_stub_status_module --with-http_ssl_module --with-md5=/usr
> --with-http_gzip_static_module  --with-http_realip_module
> --with-poll_module
> --add-module=/root/src/nginx-0.7.18/src/addons/nginx-accesskey-2.0.3/
> strings objs/nginx | grep accesskey_signature outputs:
> accesskey_signature
> But the error is the same:
> 2008/10/16 00:11:58 [emerg] 7566#0: unknown directive "accesskey" in
> /usr/local/nginx/conf/nginx.conf:70

So it looks like the binary is compiled with the module.

Make sure you ran make install successfully (you may need root
privileges), compare the binaries (objs/nginx and
/wherever/you/installed/nginx) using e.g. md5sum and if they match,
restart Nginx. Make sure the pid changed :)

Best regards,
 Grzegorz Nosek

More information about the nginx mailing list