passenger-nginx-moudle-installでwith-http_ssl_moduleを使えるようにする

rvm+rails+nginxをEC2で使うときに、realipがとるためにnginxのコンパイルオプションを加えないと行けません。
そのためのquickhack

.rvm/gems/ruby-1.9.2-p180/gems/passenger-3.0.6/bin/passenger-install-nginx-module
393c393< command = "sh ./configure --prefix='#{prefix}' --with-http_ssl_module "

    • -

> command = "sh ./configure --prefix='#{prefix}' --with-http_ssl_module --with-http_realip_module "

すればOK。ここがConfigure Optionみたいですね。