Run command:
sudo ./configure –prefix=/etc/ngin –with-http_ssl_module –with-openssl=/usr/bin/openssl –with-openssl=/usr/local/openssl-1.0.1t/
executable
root@ubuntuserver4:/usr/local/nginx-1.11.3# sudo make
make -f objs/Makefile
make[1]: Entering directory `/usr/local/nginx-1.11.3'
cd /usr/local/openssl-1.0.1t/ \
&& if [ -f Makefile ]; then make clean; fi \
&& ./config --prefix=/usr/local/openssl-1.0.1t//.openssl no-shared \
&& make \
&& make install_sw LIBDIR=lib
/bin/sh: 1: cd: can't cd to /usr/local/openssl-1.0.1t/
make[1]: *** [/usr/local/openssl-1.0.1t//.openssl/include/openssl/ssl.h] Error 2
make[1]: Leaving directory `/usr/local/nginx-1.11.3'
make: *** [build] Error 2
Found a missing openssl-1.0.1t
Get it and re-run sudo . /configure –prefix=/etc/nginx –with-http_ssl_module –with-openssl=/usr/bin/openssl –with-openssl=/usr/local/openssl-1.0.1t/ and you’re done!
Read More:
- Nginx Error: nginx: [emerg] the “ssl“ parameter requires ngx_http_ssl_module in /project/api/nginx.conf:
- [Solved] nginx: [error] open() “/usr/local/nginx/nginx.pid” failed (2: No such file or directory)
- Nginx Startup Error: “/var/run/nginx/nginx.pid” failed” [How to Solve]
- Nginx error: nginx: [error] invalid PID number ““ in “/run/nginx.pid“
- Nginx Error: Swap file “/etc/nginx/.nginx.conf.swp“ already exists
- [Solved] Nginx Restart Error: /run/nginx.pid failed (2: No such file or directory)
- Nginx Startup Error: Job for nginx.service failed because the control process exited with error code
- nginx: [emerg] bind() to 0.0.0.0:80 failed (13: Permission denied)
- Restart and stop of nginx in Linux service
- Nginx Error: SSL: error:140AB18F:SSL routines:SSL_CTX_use_certificate:ee key too small
- How to Fix No default.conf file in conf.d after Installing Nginx
- Common configuration methods of nginx
- Nginx Reverse Proxy 426 Error [How to Fix]
- [Solved] catkin_make Error: pkg_resources.DistributionNotFound: pyparsing
- [Solved] Nginx Startup Error: directive is not allowed here in
- Nginx configuration 80 can be accessed by forcing jump 443 or not
- Solve the problem of 404 Not Found error in nginx accessing dynamic interface
- [Solved] Nginx cannot access pictures on FTP Error: Whitelabel error page
- [Solved] Linux Kernel Compile Error: make menuconfig‘ requires the ncurses libraries
- Nginx realizes the same background service for portal and business