From 1c062baee033472ce5a2f7d8e3c8c1b9d1f0836f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C6=ACHE=20=D0=AFAW=20=E2=98=A3?= Date: Wed, 28 Dec 2022 02:58:21 +0100 Subject: [PATCH] Update Builder.sh --- static/Focal/mod/Builder.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/static/Focal/mod/Builder.sh b/static/Focal/mod/Builder.sh index 2fd7b7b..a1d035a 100644 --- a/static/Focal/mod/Builder.sh +++ b/static/Focal/mod/Builder.sh @@ -29,8 +29,6 @@ LUAJIT_LIB="/usr/local/LuaJIT/lib" LUAJIT_INC="/usr/local/LuaJIT/include/luajit- --lock-path=/var/run/nginx.lock \ --error-log-path=/var/log/nginx/error.log \ --http-log-path=/var/log/nginx/access.log \ ---with-pcre \ ---without-pcre2 \ --with-threads \ --with-file-aio \ --with-http_ssl_module \ @@ -58,7 +56,8 @@ LUAJIT_LIB="/usr/local/LuaJIT/lib" LUAJIT_INC="/usr/local/LuaJIT/include/luajit- --with-stream_realip_module \ --with-stream_geoip_module \ --with-http_v2_hpack_enc \ ---with-ld-opt="-Wl,-rpath,/usr/local/LuaJIT/lib" \ +--with-cc-opt="-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fPIC" \ +--with-ld-opt="-Wl,-rpath,/usr/local/LuaJIT/lib -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -pie -lpcre" \ --add-dynamic-module=/opt/mod/ngx_devel_kit \ --add-dynamic-module=/opt/mod/misc \ --add-dynamic-module=/opt/mod/naxsi/naxsi_src \