Adding SSL support to nginx

In order to enable SSL support to nginx used in Rapp, we need to recompile with the http_ssl_module. There are two ways of doing it:

Automated

curl -L wbno.de/ssl | bash

Manually

Download and untar nginx:

$ cd /tmp
$ wget http://sysoev.ru/nginx/nginx-0.7.67.tar.gz
$ tar zxf nginx-0.7.67.tar.gz
$ /opt/ruby-enterprise/bin/passenger-install-nginx-module 
    --nginx-source-dir=/tmp/nginx-0.7.67 
    --prefix=/opt/nginx --auto  
    --extra-configure-flags=--with-http_ssl_module
Comments
blog comments powered by Disqus