From e51e80ad684da0ae2cb6336c64809d16de89c7a9 Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 7 Jun 2016 16:26:36 +1000 Subject: [PATCH] move nginx binary into place --- image/base/install-nginx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/image/base/install-nginx b/image/base/install-nginx index a9a516d..9903a32 100755 --- a/image/base/install-nginx +++ b/image/base/install-nginx @@ -30,6 +30,9 @@ apt-mark hold nginx ./configure --with-cc-opt='-g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2' --with-ld-opt='-Wl,-Bsymbolic-functions -fPIE -pie -Wl,-z,relro -Wl,-z,now' --prefix=/usr/share/nginx --conf-path=/etc/nginx/nginx.conf --http-log-path=/var/log/nginx/access.log --error-log-path=/var/log/nginx/error.log --lock-path=/var/lock/nginx.lock --pid-path=/run/nginx.pid --http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-proxy-temp-path=/var/lib/nginx/proxy --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --with-debug --with-pcre-jit --with-ipv6 --with-http_ssl_module --with-http_stub_status_module --with-http_realip_module --with-http_auth_request_module --with-http_addition_module --with-http_dav_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_v2_module --with-http_sub_module --with-stream --with-stream_ssl_module --with-mail --with-mail_ssl_module --with-threads --add-module=/tmp/ngx_brotli make install + +mv /usr/share/nginx/sbin/nginx /usr/sbin + cd / rm -fr /tmp/nginx rm -fr /tmp/libbrotli -- 2.25.1