Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Is my compiled nginx too big at 11MB ?

$
0
0
Compared to the binary version in the repo which is maximum 1MB and has quite the same features, I cant make it smaller than 8MB, and if I include all the recommended options it gets up to 11MB.
What is a reasonable size the binary should be ?

I want to use my own version of openssl and that is the reason I'm trying to compile it.



CFLAGS+=-O2 ./configure --with-openssl=/mynginx/openssl \
--http-client-body-temp-path=/var/cache/nginx/client_temp \
--http-proxy-temp-path=/var/cache/nginx/proxy_temp \
--http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp \
--http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp \
--http-scgi-temp-path=/var/cache/nginx/scgi_temp \
--with-file-aio \
--with-threads \
--with-ipv6 \
--with-http_addition_module \
--with-http_auth_request_module \
--with-http_gunzip_module \
--with-http_gzip_static_module \
--with-http_v2_module \
--with-http_random_index_module \
--with-http_realip_module \
--with-http_secure_link_module \
--with-http_slice_module \
--with-http_ssl_module \
--with-http_stub_status_module \
--with-http_sub_module \

Viewing all articles
Browse latest Browse all 4759

Trending Articles