Questions tagged [phusion-passenger]

Phusion Passenger (originally called mod_rails or mod_rack) is a Rails application server designed for easy deployment and low maintenance hosting of Rack apps, including Rails, Sinatra, Camping, and other ruby-based web development micro-frameworks. Passenger supports both Apache and NGinx webservers and is written in C++.

More about Phusion Passenger: http://www.modrails.com/

482 questions
1
vote
1 answer

Nginx 1.5.1 with spdy support, passenger and php

I can't figure out if spdy is already packaged with nginx 1.5.1 or I have te recompile it. I installed nginx with the following command passenger-install-nginx-module this installed nginx 1.4.1 without the spdy module compiled into it. The php-fpm…
automaticoo
  • 111
  • 2
1
vote
1 answer

Default Apache test page when on SSL

I have the exact same configuration for my rails site on a staging server and a production server, aside from the "staging" vs "production" in the file paths. They're both set up to redirect all requests on port 80 to the SSL version on 443. This…
jemminger
  • 125
  • 2
  • 8
1
vote
0 answers

Nginx Installed w/Passenger but No Command Line

I installed Passenger and Nginx on Ubuntu 12.10 using the following command: passenger-install-nginx-module (following instructions at www.modrails.com/documentation/Users guide Nginx.html). When I ran into problems installing my SSL certificate, I…
1
vote
1 answer

Passenger complains about Apache permissions despite 777

I installed Redmine on Fedora 18. The installation works when tested with webrick, as explained in the official HowTo. Now I want to use Passenger and Apache to host Redmine. What I get is: Passenger error #2 An error occurred while trying to…
rumtscho
  • 179
  • 1
  • 9
1
vote
1 answer

Running roundcube alongside passenger on nginx

I have recently tried to install passenger on nginx. The installation works and everything is good. However I would like to run roundcube webmail on my server as well. Basically my problem is that nginx has the root directive set to the passenger…
Kenneth
  • 145
  • 6
1
vote
1 answer

Error installing nginx with Passenger on Ubuntu 12.10 for Ruby 2.0.0

I am attempting to install nginx to run a Rails site (3.2.13) with Passenger (4.0.0.rc5) on Ruby 2.0.0-p0 via RVM. I have successfully installed the Passenger gem, but when running: rvmsudo passenger-install-nginx-module I get the following error…
Rich
  • 121
  • 6
1
vote
1 answer

Pass on passenger_base_uri to Rails app

We built a Rails app that consists of the following routes: namespace :api do namespace :v1 do resources ... end end That means, all controllers are reachable via www.url.com/api/v1/controller. To run a stand-alone…
1
vote
1 answer

How can I make apache use PHP over passenger by default?

Here's my setup: I have an apache server running a number of virtual hosts, each of them using PHP. I now have a rails app I want to install to a subdirectory for one of the sites (a subdomain would be adequate as a fall-back). From what I've read…
Jack
  • 121
  • 5
1
vote
0 answers

Problems with apache2 and SSL not load files CSS and JS

I have an application in Ruby on Rails 3.2.8, and I'm using passenger-Nginx as Web Server on port 3037 with Apache2 and SSL using ProxyPass and ProxyPassReverse. My problem is, when load in chrome or firefox the CSS and JavaScript files do not…
trejo08
  • 131
  • 1
  • 8
1
vote
0 answers

Issue serving static contents securely via nginx X-Accel and rails send_file

I am trying to serve static contents via nginx & rails using X-Accel-Redirect. My actual static content directort located at rails root folder like this rails_root\books. This is my nginx config file mapping the url with the actual file…
RameshVel
  • 141
  • 4
1
vote
0 answers

URL Rewriting and Rack base paths

I'm trying to set up a Rails website on Bluehost and I'm having trouble with the path helpers. As I don't want to monkey-patch Rails, I'm trying to solve this through .htaccess. Here's the scenario: I'm hosting www.engradado.com on…
1
vote
2 answers

Site available on internal network, but not from external networks

I've got a ruby on rails application running on apache2 with phusion-passenger. The application works flawlessly on the local trusted network, but I can't access it on our wireless (untrusted) or any external networks. I can ping the server on the…
biagidp
  • 131
  • 2
1
vote
4 answers

is it possible to have two web servers hosted at different places share the same domain name?

say I have a wordpress site: https://www.foobar.com and I want to have an entry point to a rails app at a certain subdirectory within that same domain: https://www.foobar.com/rails_app I know this is possible if both the wordpress app and the rails…
patrick
  • 153
  • 2
  • 8
1
vote
1 answer

Passenger not respecting settings

I have the following settings in my Apache config (not in one of the vhosts but globally): RailsSpawnMethod smart RailsAppSpawnerIdleTime 0 PassengerMinInstances 2 PassengerMaxPoolSize 5 PassengerPoolIdleTime 120 but somehow, each time I access my…
Martin Müller
  • 139
  • 1
  • 8
1
vote
2 answers

EC2, Ubuntu, RVM, Rails, Passenger, Apache -- requests to my domain just time out

Problem: I believe I've done everything required to deploy my app, but when I go to my new URL, I get a "problem loading page, server took too long to respond" error from the browser. Stats: I'm deploying through EC2 for the first time. I've got…