Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
CentOSにngx-mrubyを入れるscript
yum -y update
yum -y install \
git \
gcc \
wget \
curl \
rake \
bison \
openssl-devel \
make
cd /usr/local/src/ && git clone -b v2.1.1 https://github.com/matsumotory/ngx_mruby.git
export NGINX_CONFIG_OPT_ENV='--with-http_stub_status_module --with-http_ssl_module --prefix=/usr/local/nginx --with-http_realip_module --with-http_addition_module --with-http_sub_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_random_index_module --with-http_secure_link_module'
cd /usr/local/src/ngx_mruby && sh build.sh && make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.