./configure –prefix=/usr/local/openresty –with-luajit –with-http_drizzle_module –with-http_iconv_module –with-http_realip_module –with-poll_module –with-http_stub_status_module –with-http_ssl_module –with-http_geoip_module –add-module=../nginx-eval-module

if ($http_user_agent ~* “(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino”) { set $mobile_rewrite perform; }

https://github.com/dursegov/nginx-subfilter-module

https://github.com/openresty/redis2-nginx-module/search?utf8=%E2%9C%93&q=incr

https://github.com/openresty/drizzle-nginx-module#installation

https://github.com/openresty/lua-nginx-module

http://www.douban.com/group/topic/14859879/

http://justcodeit.info/blog/openresty-as-compute-intensive-server.html

https://github.com/dursegov/nginx-subfilter-module

https://github.com/vkholodkov/nginx-eval-module/tree/master

https://github.com/openresty/openresty.org

https://github.com/elcuervo/nginx_http_redis

https://github.com/openresty/redis2-nginx-module

try_files

http://stackoverflow.com/questions/15451191/how-to-serve-html-files-in-nginx-without-showing-the-extension-in-this-alias-set

sources

[getcomposer getting started] : https://getcomposer.org/doc/00-intro.md