春哥好:今天在看您写的nginx教程时,然后看到Nginx变量漫谈(五)时,有个ngx_auth_request模块,使用了其中的auth_request命令,当我重启的时候,linux终端显示为 nginx: [emerg] unknown directive "auth_request" in /home/****/openresty_hdcourse/openresty/nginx/conf/nginx.conf:53
找不到这个。我安装是的openresty/1.11.2.1版本,所有的模块我都安装了,感觉应该是openresty1.11.2.1没有加入这个模块?还是需要自己手动安装吗?谢谢。也感谢您提供了如此优秀的技术方案。
--
--
邮件来自列表“openresty”,专用于技术讨论!
订阅: 请发空白邮件到 openresty+subscribe@googlegroups.com
发言: 请发邮件到 open...@googlegroups.com
退订: 请发邮件至 openresty+unsubscribe@googlegroups.com
归档: http://groups.google.com/group/openresty
官网: http://openresty.org/
仓库: https://github.com/agentzh/ngx_openresty
教程: http://openresty.org/download/agentzh-nginx-tutorials-zhcn.html
--with-http_auth_request_module
configuration parameter.2016-12-27 15:34 GMT+08:00 <maxwa...@gmail.com>:春哥好:今天在看您写的nginx教程时,然后看到Nginx变量漫谈(五)时,有个ngx_auth_request模块,使用了其中的auth_request命令,当我重启的时候,linux终端显示为 nginx: [emerg] unknown directive "auth_request" in /home/****/openresty_hdcourse/openresty/nginx/conf/nginx.conf:53该模块默认是不安装的,需要在 configure 的时候指定开启。$ ./configure --help | grep auth--with-http_auth_request_module enable ngx_http_auth_request_module--without-http_auth_basic_module disable ngx_http_auth_basic_moduleNginx 官方说明:
找不到这个。我安装是的openresty/1.11.2.1版本,所有的模块我都安装了,感觉应该是openresty1.11.2.1没有加入这个模块?还是需要自己手动安装吗?谢谢。也感谢您提供了如此优秀的技术方案。
--
--
邮件来自列表“openresty”,专用于技术讨论!
订阅: 请发空白邮件到 openresty...@googlegroups.com
发言: 请发邮件到 open...@googlegroups.com
退订: 请发邮件至 openresty+...@googlegroups.com