How to get Passenger to install nginx with SSL support:
1. change to the /tmp directory
cd /tmp
2. download the nginx source
wget http://sysoev.ru/nginx/nginx-0.6.36.tar.gz
3. unpack it
tar zxf nginx-0.6.36.tar.gz
4. install the passenger gem
sudo gem install passenger
5. run the passenger nginx module install
passenger-install-nginx-module
6. When asked: ‘Do you want this installer to download, compile and install Nginx for you?’, answer
2
7. When asked: ‘Where is your Nginx source code located?’, answer
/tmp/nginx-0.6.36
8. When asked: ‘Where do you want to install Nginx to?’, answer
/opt/nginx
9. When asked about: ‘Extra arguments to pass to configure script:’, answer
--with-http_ssl_module
10. When asked to ‘Confirm configure flags’, answer
yes
That’s it. Good luck!




