Created
October 22, 2023 15:31
-
-
Save Ayesh/7c7a1bf08d37497aef8672644a7fd5e5 to your computer and use it in GitHub Desktop.
Nginx `./configure` script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./configure \ | |
--prefix=/etc/nginx \ | |
--sbin-path=/usr/sbin/nginx \ | |
--modules-path=/usr/lib/nginx/modules \ | |
--conf-path=/etc/nginx/nginx.conf \ | |
--error-log-path=/var/log/nginx/error.log \ | |
--http-log-path=/var/log/nginx/access.log \ | |
--pid-path=/var/run/nginx.pid \ | |
--lock-path=/var/run/nginx.lock \ | |
--http-client-body-temp-path=/var/cache/nginx/client_temp \ | |
--http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp \ | |
--user=www-data \ | |
--group=www-data \ | |
--with-compat \ | |
--with-file-aio \ | |
--with-threads \ | |
--with-http_addition_module \ | |
--with-http_mp4_module \ | |
--with-http_slice_module \ | |
--with-http_ssl_module \ | |
--with-http_sub_module \ | |
--with-http_v2_module \ | |
--with-http_v3_module \ | |
--with-stream \ | |
--with-stream_ssl_module \ | |
--with-stream_ssl_preread_module \ | |
--without-http_scgi_module \ | |
--without-http_uwsgi_module \ | |
--without-http_proxy_module \ | |
--without-http_grpc_module \ | |
--without-http_memcached_module \ | |
--without-http_limit_conn_module \ | |
--without-http_limit_req_module \ | |
--without-http_empty_gif_module \ | |
--without-http_browser_module \ | |
--without-http_upstream_hash_module \ | |
--without-http_upstream_ip_hash_module \ | |
--without-http_upstream_least_conn_module \ | |
--without-http_upstream_random_module \ | |
--without-mail_pop3_module \ | |
--without-mail_imap_module \ | |
--without-mail_smtp_module \ | |
--without-http_ssi_module \ | |
--without-http_mirror_module \ | |
--without-http_autoindex_module \ | |
--without-http_geo_module \ | |
--without-http_split_clients_module \ | |
--without-http_referer_module \ | |
--without-stream_limit_conn_module \ | |
--without-stream_access_module \ | |
--without-stream_geo_module \ | |
--without-stream_map_module \ | |
--without-stream_split_clients_module \ | |
--without-stream_upstream_hash_module \ | |
--without-stream_upstream_least_conn_module \ | |
--without-stream_upstream_random_module \ | |
--without-stream_upstream_zone_module \ | |
--add-module=/root/sources/ngx_brotli \ | |
--add-module=/root/sources/headers-more-nginx-module \ | |
--build=ayeshious \ | |
--with-cc-opt='-g -O2 -ffile-prefix-map=/data/builder/debuild/nginx-1.25.2/debian/debuild-base/nginx-1.25.2=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fPIC' --with-ld-opt='-Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -flto=auto -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -pie' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment