Skip to content

Instantly share code, notes, and snippets.

@drbh
Last active May 11, 2023 00:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save drbh/da321d26c659c76569c528dc76126f6a to your computer and use it in GitHub Desktop.
Save drbh/da321d26c659c76569c528dc76126f6a to your computer and use it in GitHub Desktop.
curl -OL http://nginx.org/download/nginx-1.23.4.tar.gz
tar -xvzf nginx-1.23.4.tar.gz && rm nginx-1.23.4.tar.gz
# todo add openssl and prce
curl -OL https://osdn.net/projects/sfnet_pcre/downloads/pcre/8.45/pcre-8.45.tar.gz
tar -xvzf pcre-8.45.tar.gz && rm pcre-8.45.tar.gz
curl -OL https://github.com/openssl/openssl/releases/download/openssl-3.1.0/openssl-3.1.0.tar.gz
tar -xvzf openssl-3.1.0.tar.gz && rm openssl-3.1.0.tar.gz
cd nginx-1.23.4
./configure --with-pcre=../pcre-8.45/ --with-http_ssl_module --with-openssl=../openssl-3.1.0
# todo add permission changes
make && make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment