-
Notifications
You must be signed in to change notification settings - Fork 4
HTTP2 enable
Uplusware edited this page Dec 8, 2016
·
25 revisions
http2 depends on TLSv1.2, and need to install openssl 1.1. Please refer https://www.openssl.org
cd niuhttpd
wget https://www.openssl.org/source/openssl-1.1.0c.tar.gz
tar zxvf openssl-1.1.0c.tar.gz
cd openssl-1.1.0c
./config
make
make test
sudo make install
cd ..
cd src/
make clean
make
cd ..
chmod a+x ./release.sh
./release.sh 0.3 beta ubuntu
sudo ./ubuntu-niuhttpd-bin-beta-x86_64-linux/install.sh
sudo vim /var/niuhttpd/niuhttpd.conf
set "HTTP2Enable = yes"
sudo /etc/init.d/niuhttpd restart