Skip to content
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

Download the openssl source code and unpack it to niuhttpd code tree

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

Clone this wiki locally