HI all,
I would like my users to connect to a Nginx proxy via the google spdy protocol. I am new to unix, so please bear with me.
I gather that I will manually have to build from source like in the code below.
My goal is to make Nginx proxy listen on spdy port and transfer request to a back-end server. Please can someone help me what additional modules are required to build. I was looking at proxy pass and upstream. Is that something, I will have to add while doing ./configure or is it already built in.
Thanks in advance folks.
# Fetch and extract nginx source
wget http://nginx.org/download/nginx-1.3.1.tar.gz
tar xvfz nginx-1.3.1.tar.gz
cd nginx-1.3.1
# Fetch the SPDY patch and apply it
wget http://nginx.org/patches/spdy/patch.spdy.txt
patch -p0 < patch.spdy.txt
# Configure nginx
./configure \
--prefix=/usr \
--sbin-path=/usr/sbin \
--conf-path=/etc/nginx/nginx.conf \
--error-log-path=/var/log/nginx/error.log \
--http-log-path=/var/log/nginx/access.log \
--with-http_ssl_module \
--with-http_gzip_static_module
# Build and install nginx
make && make install