/opt/nginx/nginx.conf
load_module /opt/nginx/modules/ngx_http_proxy_connect_module.so;
./configure \ --prefix=/opt/nginx \ --sbin-path=/opt/nginx/nginx \ --conf-path=/opt/nginx/nginx.conf \ --error-log-path=/opt/nginx/logs/error.log \ --http-log-path=/opt/nginx/logs/access.log \ --pid-path=/opt/nginx/logs/nginx.pid \ --lock-path=/opt/nginx/logs/nginx.lock \ --http-client-body-temp-path=/opt/nginx/optified/client_temp \ --http-proxy-temp-path=/opt/nginx/optified/proxy_temp \ --http-fastcgi-temp-path=/opt/nginx/optified/fastcgi_temp \ --http-uwsgi-temp-path=/opt/nginx/optified/uwsgi_temp \ --http-scgi-temp-path=/opt/nginx/optified/scgi_temp \ --user=user \ --group=users \ --with-http_ssl_module \ --with-http_realip_module \ --with-http_addition_module \ --with-http_sub_module \ --with-http_dav_module \ --with-http_flv_module \ --with-http_mp4_module \ --with-http_gzip_static_module \ --with-http_random_index_module \ --with-http_secure_link_module \ --with-http_stub_status_module \ --with-mail \ --with-mail_ssl_module \ --without-http_upstream_zone_module \ --add-dynamic-module=ngx_http_proxy_connect_module