install nginx, passenger and http2 on ubuntu 14.04
OPENSSL for APNL SUPPORT
Cause ubuntu 14.04 use openssl 1.0.1f that doesn't supported APNL and there for not supported for SPDY google chrome, we need to use the openssl 1.0.2f instead, so we need to compile nginx using custom openssl.
Passenger usually use it's own compiled version, cause will build our own nginx, we need to inverse the process so we need to compile nginx using the passenger module.
- Take a look with this [https://www.phusionpassenger.com/library/install/nginx/install_as_nginx_module.html]
- (libcurl ....), choose the right for your os
using ruby with source code
rvm with binary disabled (--disable-binary)to install non binrary ruby
using the compile command (files compile-command) in the installation folder
! After installation you may the nginx binary in
sudo ./nginx -s reload
There still some work in adding service