Skip to content

Instantly share code, notes, and snippets.

@JimmyVV JimmyVV/http2.sh
Created Sep 17, 2016

Embed
What would you like to do?
#!/bin/bash
cd /usr/local/src
wget -O openssl.tar.gz -c https://www.openssl.org/source/openssl-1.1.0.tar.gz
tar zxf openssl.tar.gz
mv openssl-1.1.0/ openssl
wget -c https://nginx.org/download/nginx-1.11.4.tar.gz
tar zxf nginx-1.11.4.tar.gz
cd nginx-1.11.4/
./configure --prefix=/usr/local/nginx \
--conf-path=/etc/nginx/nginx.conf \
--with-openssl=../openssl \
--with-http_v2_module \
--with-http_ssl_module \
--with-http_gzip_static_module
make && sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.