make clean
./configure --prefix=/etc/nginx/ \
--with-stream \
--with-stream_realip_module \
--with-stream_ssl_module \
--with-stream_ssl_preread_module \
--with-http_geoip_module \
--with-http_auth_request_module \
--sbin-path=/usr/sbin/nginx \
--conf-path=/etc/nginx/nginx.conf \
--http-log-path=/var/log/nginx/access.log \
--error-log-path=/var/log/nginx/error.log \
--add-module=../modules/ngx_http_substitutions_filter_module \
--add-dynamic-module=../modules/ngx_http_google_filter_module \
--add-dynamic-module=../nginx/lua-nginx-module \
--add-dynamic-module=../nginx/incubator-pagespeed-ngx-1.13.35.2-stable
#dynamic
make modules
ls objs/
cp objs/ngx_pagespeed.so /usr/local/nginx/modules/
#cp objs/nginx /usr/local/nginx/sbin/
sed -i 's+ssl on;+#ssl on;+g' app/*