Hello!
On Mon, Mar 17, 2014 at 3:25 AM, info wrote:
> Given that Lua and its modules wants to be loaded in a certain
> (compiled)order, what would be the recommended order?
It's recommended to use the module order used by my openresty bundle:
$ /usr/local/openresty/nginx/sbin/nginx -V
nginx version: openresty/1.5.11.1rc2
built by gcc 4.7.2 20120921 (Red Hat 4.7.2-2) (GCC)
TLS SNI support enabled
configure arguments: --prefix=/usr/local/openresty/nginx
--add-module=../ngx_devel_kit-0.2.19
--add-module=../iconv-nginx-module-0.10
--add-module=../echo-nginx-module-0.51
--add-module=../xss-nginx-module-0.04
--add-module=../ngx_coolkit-0.2rc1
--add-module=../set-misc-nginx-module-0.24
--add-module=../form-input-nginx-module-0.07
--add-module=../encrypted-session-nginx-module-0.03
--add-module=../srcache-nginx-module-0.25
--add-module=../ngx_lua-0.9.5 --add-module=../ngx_lua_upstream-0.01
--add-module=../headers-more-nginx-module-0.25
--add-module=../array-var-nginx-module-0.03
--add-module=../memc-nginx-module-0.14
--add-module=../redis2-nginx-module-0.10
--add-module=../redis-nginx-module-0.3.7
--add-module=../auth-request-nginx-module-0.2
--add-module=../rds-json-nginx-module-0.13
--add-module=../rds-csv-nginx-module-0.05
--with-ld-opt=-Wl,-rpath,/usr/local/openresty/luajit/lib
--with-http_ssl_module
Regards,
-agentzh