Last active
October 7, 2019 16:34
-
-
Save deHelden/114c65f1ab301167f8f057371311c1bc to your computer and use it in GitHub Desktop.
Nginx setup from binary
This file contains hidden or 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
sudo apt update | |
sudo apt install build-essential | |
wget https://nginx.org/download/nginx-1.17.4.tar.gz | |
tar -xzvf nginx-1.17.4.tar.gz | |
cd nginx-1.17.4 | |
sudo apt install libssl-dev openssl build-essential zlib1g-dev libpcre3 libpcre3-dev zlibc unzip | |
./configure --sbin-path=/usr/bin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --with-pcre --with-http_ssl_module | |
make | |
sudo make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment