From f9c02c7a56ef0b4bd7b4460e72b4bc8d4c50f507 Mon Sep 17 00:00:00 2001 From: Daniel Winzen Date: Sun, 19 Jul 2020 09:17:59 +0200 Subject: [PATCH] Add mysql lua module to nginx --- README.md | 2 +- install_binaries.sh | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7a63fb3..9f190d8 100644 --- a/README.md +++ b/README.md @@ -111,7 +111,7 @@ Install custom optimized binaries Install composer and sodium_compat for v3 hidden_service support ``` -curl -sSL https://github.com/composer/composer/releases/download/1.9.3/composer.phar > /usr/bin/composer && chmod +x /usr/bin/composer +curl -sSL https://github.com/composer/composer/releases/download/1.10.8/composer.phar > /usr/bin/composer && chmod +x /usr/bin/composer cd /var/www && composer install ``` diff --git a/install_binaries.sh b/install_binaries.sh index 11f8f26..5ef2aa2 100755 --- a/install_binaries.sh +++ b/install_binaries.sh @@ -8,12 +8,17 @@ git clone https://github.com/openresty/lua-resty-core git clone https://github.com/openresty/lua-resty-lrucache git clone https://github.com/openresty/lua-nginx-module git clone https://github.com/openresty/stream-lua-nginx-module +git clone https://github.com/openresty/lua-resty-mysql +git clone https://github.com/openresty/rds-json-nginx-module +git clone https://github.com/openresty/set-misc-nginx-module cd luajit2 XCFLAGS="-O3 -march=native -mtune=native" make -j $(nproc) install cd ../lua-resty-core make -j $(nproc) install cd ../lua-resty-lrucache make -j $(nproc) install +cd ../lua-resty-mysql +make -j $(nproc) install cd .. # apply dynamic TLS record and HTTP2 HPACK patch by CloudFlare cat <