http2


Install web server nginx-1.9.15 supporting http/2.
Finding out http version of tech.riowing.net from remote client windows/WSL:
Curl: $ curl -sI –insecure https://tech.riowing.net -o/dev/null -w ‘%{http_version}\n’
output: 2
External tool:
https://tools.keycdn.com/http2-test
type in https://tech.riowing.net:443/hls/a.html
output: HTTP/2 protocol is supported. see attachment
Chrome:
F12 to bring up the DevTools window, and the network tab says H2.

Server side:
Build nginx, need to build from source code as http2 is not in default.
download source: http://nginx.org/download/nginx-1.9.15.tar.gz
untar it and go to that folder.
$ ./configure –with-http_ssl_module –with-http_v2_module –add-module=../nginx-rtmp-module-master
I need nginx-rtmp for streaming
$ make this builds the binary objs/nginx
Config
edit so that nginx.conf https has this line:
listen 443 ssl http2;
Most ubuntu meet minimum requirement: nginx 1.9.5 and TLS 1.2

Http2

Comments are closed.
%d bloggers like this: