openssl – Missing config file in nginx source?
I have already opened an issue on GitHub at the NGINX repository (github.com/nginx/nginx/issues/189) and would like to make sure again whether this is intended or not.
I want to compile nginx with openssl which I had to compile successfully myself. However, when I enter “make” for nginx, I always get this error:
cd /opt/nginx-1.26.2 \
&& if [ -f Makefile ]; then make clean; fi \
&& ./config --prefix=/opt/nginx-1.26.2/.openssl no-shared no-threads \
&& make \
&& make install_sw LIBDIR=lib
make[2]: Entering directory '/opt/nginx-1.26.2'
rm -rf Makefile objs
make[2]: Leaving directory '/opt/nginx-1.26.2'
/bin/sh: line 3: ./config: No such file or directory
make[1]: *** [objs/Makefile:1641: /opt/nginx-1.26.2/.openssl/include/openssl/ssl.h] Error 127
make[1]: Leaving directory '/opt/nginx-1.26.2'
make: *** [Makefile:10: build] Error 2
bash-5.1# ./config
bash: ./config: No such file or directory
Configure Command:
./configure --conf-path=/etc/nginx/nginx.conf --modules-path=/etc/nginx/modules/ --add-module=/opt/ModSecurity-nginx --with-http_ssl_module --with-http_auth_request_module --with-http_v2_module --with-http_v3_module --with-http_realip_module --with-http_gunzip_module --with-openssl=/opt/nginx-1.26.2
Read more here: Source link