From 0d87918195c74cb1692050ce260d9f2429bad410 Mon Sep 17 00:00:00 2001 From: STAM Date: Thu, 19 Sep 2019 16:48:29 +0300 Subject: [PATCH] Update script.txt --- balancer/experemental/script.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/balancer/experemental/script.txt b/balancer/experemental/script.txt index f8730c6ab..03e80a15b 100644 --- a/balancer/experemental/script.txt +++ b/balancer/experemental/script.txt @@ -11,7 +11,7 @@ git clone https://github.com/openresty/luajit2.git luajit2 # make make install cat > description-pak | Custom build of luajit2 for Nginx module, by EpicMorg. -checkinstall -D --pakdir=/builds/export --maintainer="EpicMorg, developer@epicm.org" --pkgname=luajit2-custom --conflicts=luajit2 --install=no -y +fakeroot checkinstall -D --pakdir=/builds/export --maintainer="EpicMorg, developer@epicm.org" --pkgname=luajit2-custom --conflicts=luajit2 --install=no -y export LUAJIT_INC=/usr/local/include/luajit-2.1 export LUAJIT_LIB=/usr/local/lib @@ -67,6 +67,7 @@ git clone https://github.com/wandenberg/nginx-selective-cache-purge-module.git h ./configure \ +--sbin-path=/usr/sbin/nginx \ --prefix=/usr/share/nginx \ --conf-path=/etc/nginx/nginx.conf \ --http-log-path=/var/log/nginx/access.log \ @@ -81,6 +82,8 @@ git clone https://github.com/wandenberg/nginx-selective-cache-purge-module.git h --http-uwsgi-temp-path=/var/lib/nginx/uwsgi \ --with-cc-opt='-I/usr/local/include/luajit-2.1 -g -O2 -lz -fstack-protector-strong -Wformat -Wno-error=date-time -Wno-error=implicit-fallthrough= -Wno-error=cast-function-type -Wno-error=format-security -Wno-error=implicit-function-declaration -Wno-error=deprecated-declarations -Wno-error=unused-result -fPIC -Wdate-time -D_FORTIFY_SOURCE=2' \ --with-ld-opt='-Wl,-z,relro -Wl,-z,now -lz -fPIC -L/usr/local/lib' \ +--with-file-aio \ +--with-compat \ --with-debug \ --with-threads \ --with-pcre-jit \ @@ -138,7 +141,7 @@ git clone https://github.com/wandenberg/nginx-selective-cache-purge-module.git h make make install cat > description-pak | Custom build of Nginx with some modules, by EpicMorg. -checkinstall -D --pakdir=/builds/export --maintainer="EpicMorg, developer@epicm.org" --pkgname=nginx-custom --conflicts=nginx,nginx-common,nginx-doc,nginx-extras,nginx-full,nginx-light --install=no -y +fakeroot checkinstall -D --pakdir=/builds/export --maintainer="EpicMorg, developer@epicm.org" --pkgname=nginx-custom --conflicts="nginx | nginx-common | nginx-doc | nginx-extras | nginx-full | nginx-light" --install=no -y dhparam -out /etc/nginx/ssl/dhparam.pem 4096