Created
April 7, 2014 20:18
-
-
Save davidad/10044264 to your computer and use it in GitHub Desktop.
OpenResty configuration/build on `heroku run bash`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -O -L http://downloads.sourceforge.net/sourceforge/pcre/pcre-8.34.tar.gz | |
curl -O -L http://openresty.org/download/ngx_openresty-1.5.11.1.tar.gz | |
tar xzf pcre-8.34.tar.gz | |
tar xzf ngx_openresty-1.5.11.1.tar.gz | |
cd ngx_openresty-1.5.11.1 | |
export PATH=/sbin:$PATH | |
./configure --prefix=/app/openresty --with-pcre=/app/pcre-8.34 --with-luajit --with-http_postgres_module --with-file-aio --with-ipv6 --with-http_realip_module --with-http_addition_module --with-http_xslt_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_gzip_static_module --with-http_random_index_module --with-http_secure_link_module --with-http_degradation_module --with-http_stub_status_module --with-mail --with-mail_ssl_module --with-pcre-jit --with-http_iconv_module -j2 | |
make | |
make install | |
tar czf openresty_build-1.5.11.1-1.tar.gz openresty |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment