Just build this little guy for our puppet script, maybe someone needs it too 🙂
export V=0.7.67 && wget -O /tmp/nginx-$V.tar.gz http://sysoev.ru/nginx/nginx-$V.tar.gz && cd /tmp && tar xzvf nginx-$V.tar.gz && sudo passenger-install-nginx-module --nginx-source-dir /tmp/nginx-$V --extra-configure-flags="--with-http_ssl_module" --auto --prefix=/opt/nginx-$V && rm /opt/nginx && sudo ln -s /opt/nginx-$V /opt/nginx
(If you like the stock nginx without ssl, youll need the –auto-download option)
3 thoughts on “one-liner to install nginx with passenger and ssl”