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 ...

learn more… | top users | synonyms (1)

1
vote
4answers
89 views

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 ...
1
vote
1answer
473 views

Showing Directory Root When Launching Rails App Using Apache2 and Passenger

I have done the following in an attempt to host a Rails 3.2.3 application using Apache 2.2.21 and Passenger 3.0.13: Installed gem Passenger rvmsudo passenger-install-apache2-module Added website ...
1
vote
1answer
329 views

Configure redmine that it responds on redmine.mydomain.com

I installed redmine just a few minutes (or hours?) ago and it works fine at my root domain "mydomain.com". But this is not what I want. What I want is my root domain pointing to some public stuff and "...
1
vote
1answer
179 views

Rails showing files list and not running app

I followed this tutorial: http://railsapps.github.com/tutorial-rails-mongoid-devise.html Running nginx via proxy on port 8000. You can see it here. Why is it listing the files in the /public dir? ...
1
vote
1answer
2k views

Rack processes taking over CPU under Passenger

I have a Spree site running the following stack: Nginx 1.0.8 Passenger 3.0.9 Ruby 1.9.2-p290 Rack 1.3.6 Rails 3.1.4 Spree 0.70.5 I recently upgraded from Spree 0.70.3, which also brought a Deface ...
1
vote
2answers
819 views

Best Practice: RVM w/ Multiple Nginx-Passsenger Standalone Servers Running One App per Server

I'm wondering what would be the best approach to hosting multiple Rails applications where each application has a different gemset and may possibly use a different version of Ruby. I'm thinking of ...
1
vote
2answers
2k views

Redmine suddenly stopped working. How to troubleshoot?

I was a happy user of redmine for like 6 months. My plan was to set it up and never update anything in order not to deal with dependencies and stuff. I'm using Ubuntu server 10.04 (Apache/Passenger) ...
1
vote
1answer
962 views

ModRails for Apache2 Setup: Failing to load?

I'm trying to perform a fresh install of Ruby on Rails running with Apache2/Passenger on Ubuntu. I was able to successfully install apache2, rvm, ruby, rails and passenger, the latter part following ...
1
vote
1answer
1k views

Why do I need to specify passenger_enabled twice?

I'm trying to set up my nginx.conf to use the asset pipeline in Rails 3.1. I'm using nginx 1.0.10 and Passenger 3.0.11. My nginx.conf looks like this: server { listen 80; server_name .example.com ...
1
vote
1answer
95 views

Apache Bench length failures

I am running Apache Bench against a Ruby on Rails XML-RPC web service that is running on Passenger via mod_passenger. All is fine when I run 1000 requests without concurrency. Bench indicates that ...
1
vote
1answer
281 views

Phusion Passenger + Nginx - Architecture?

I'm using Phusion Passenger + nginx to deploy a rails app. So far, all is working fantastically. However, I'm a little fuzzy around the architecture of passenger + nginx, and I would love to deepen ...
1
vote
1answer
211 views

rails, nginx and passenger with SSL on some paths

I'm running a standard Rails 2.3.11 install, with passenger and nginx. I've correctly installed the SSL certificates and they are confirmed to work. However, I only need SSL on two paths example.com/...
1
vote
1answer
941 views

Passenger is preventing Bundler from seeing my git gems

I'm attempting to deploy a Rails 3.1 application to an Ubuntu 11.04 server running nginx-1.0.0 and passenger-3.0.7 I have a system-level RVM install at /usr/local/rvm/gems/ruby-1.9.2-p180 My nginx....
1
vote
2answers
127 views

apache2 VirtualHost server and passenger behaviour

i've installed a phusion-passenger website in Apache2, the site sits at 192.168.0.50 in my network. here it is the VirtualHost element <VirtualHost *:80> ServerName my_web_host ...
1
vote
1answer
3k views

403 Forbidden

Here is my Nginx config: user pass users; worker_processes 1; events { worker_connections 1024; } http { passenger_root /usr/lib64/ruby/gems/1.8/gems/passenger-3.0.7; passenger_ruby /...
1
vote
2answers
1k views

Cannot start redmine on ubuntu 10.4

When I try to start redmine 1.1.3 I get this error: Missing the i18n 0.4.2 gem. Please 'gem install -v=0.4.2 i18n' However if I do sudo gem list I get: *** LOCAL GEMS *** actionmailer (2.3.5) ...
1
vote
2answers
111 views

Strange error when using Rails with Passenger

I get the following Passenger error: undefined method `post_reset' for Gem:Module Someone knows what this could mean? Thanks!
1
vote
1answer
718 views

Rails 3 + Nginx + Passenger — Routing index

I have no index.html file in my public folder. My rails routes file routes this, and it works fine when I run 'rails server' on my machine. I'm trying to deploy the app. I have passenger and nginx ...
1
vote
1answer
864 views

Curl development headers with SSL support for Phusion Passenger 3

Hi When I run passenger-install-apache2-module I get: Checking for required software... GNU C++ compiler... found at /opt/csw/gcc4/bin/g++ Curl development headers with SSL support... not found I ...
1
vote
1answer
1k views

Configuring nginx as reverse proxy

I am using Passenger with nginx to serve my rails app on a virtual Slice host. I am considering putting a reverse proxy for serving static content as well as handling etagged actions. Can I use my ...
1
vote
1answer
2k views

How much memory should my rails stack be consuming?

I am running my own webserver on a 384MB VPS from Slicehost to serve two Ruby on Rails applications on separate Virtual Hosts. I am running Phusion Passenger with Apache2. The following is the ...
1
vote
1answer
3k views

directive is not allowed here Nginx Passenger

I'm trying to enable Global Queuing in passenger and i'm using Nginx. When i set the flag passenger_use_global_queue I get an error [emerg]: "passenger_use_global_queue" directive is not allowed here ...
1
vote
1answer
547 views

if I set up the expire http header of a css file to 1 year, if I modify that file, will it be ignored by the browser using rails?

I'm using rails with nginx/passenger. If I set up the expire http header of a css file to 1 year, if I modify that file, will it be ignored by the browser (ie, it will not request the new version)? ...
1
vote
2answers
700 views

Ubuntu server very slow out of the blue sky (Rails, passenger, nginx)

I run Ubuntu server 8.04 on Linode with multiple Rails apps under Passenger + nginx. Today I've noticed it takes quite a lot of time to load a page (5-10 secs). And it's not only websites, ssh seems ...
1
vote
1answer
701 views

Where/How do you configure phusion passenger when running nginx?

Im running Nginx and Phusion Passenger for my rails app and I want to be able to configure passenger. All I have seen is how to configure it while running apache which doesn't help me. For example, I ...
1
vote
4answers
5k views

How to serve Rails application with Passenger/Apache without domain name?

I am trying to serve a Rails application using Passenger and Apache on a Ubuntu server. The Passenger installation instructions say I should add the following to my Apache configuration file - I ...
1
vote
1answer
630 views

How can I setup BluePill to Monitor a Rails App Running via Passenger (mod_rails)

I recently launched a site running phusion passenger. Unfortunately, the site went down due to a frozen thread. I was able to save the server by doing kill -9 to the specific PID. Still though, I ...
1
vote
1answer
2k views

Nginx+Passenger: 502 Bad Gateway from Nginx when passing urlencoded URLs in GET vars

Here's an example of the URLs that don't work: http://domain/do?url=http%3A%2F%2Fwww.linkedin.com%2Fin%2Fperson http://domain/do?url=http%3A%2F%2Fwww.linkedin.com%2F However, the following URL does ...
1
vote
1answer
2k views

Configure Apache + Passenger to serve static files from different directory

I'm trying to setup Apache and Passenger to serve a Rails app. However, I also need it to serve static files from a directory other than /public and give precedence to these static files over anything ...
1
vote
1answer
1k views

Apache: mod_passenger + mod_php

Is it possible to install both modules for PHP and rails passenger? I installed libapache2-mod-php5 first, and when I try to install libapache2-mod-passenger, it tries to remove the php module. Is ...
1
vote
2answers
7k views

Passenger + Nginx => 502 Bad Gateway

I'm trying to run a relatively simple rails app (http:// www.enkiblog.com/) and it kinda works. The comments and the admin interface only work when I use "script/ server -e production" and connect to ...
1
vote
0answers
30 views

Making SSL work for a Ruby on Rails application with shared hosting [closed]

My problem: getting my Ruby on Rails app to run on JustHost shared server with SSL. The individual pieces work separately on the shared server: I have set up my app to work through the host's ...
1
vote
1answer
30 views

Rails + Passenger + Nignx + Modules

I try to install Rails + Passenger + Nginx + Modules but I got an error when installer start compiling Nginx: sh ./configure --prefix='/opt/nginx' --with-http_ssl_module --with-...
1
vote
1answer
104 views

Nginx+Passenger serving assets on sub uri

I'm serving a Rails application under a sub-uri like https://projects.mydomain.com/app1/ But my assets are not loading. here is my nginx config : location ~ ^/app1(/.*|$) { root /srv/www/app1/...
1
vote
0answers
57 views

nginx passenger, setting the umask

I was wondering how to set the umask for nginx or passenger or both processes. A search seems to only bring up Apache. Any help would be very much appreciated! (This is on Debian.)
1
vote
1answer
557 views

Hosting redmine server using apache2 in ubuntu

I am trying to run redmine+gitolite server using apache in an Ubuntu machine. I followed the instructions given here with the following server config file: <VirtualHost *:80> ServerName ...
1
vote
1answer
86 views

Manage DNS for AWS EB site with hundreds of dynamic subdomains

A Domain Name System (DNS) problem: (also asked on stack-overflow) I've got an Amazon Web Services (AWS) Elastic Beanstalk (EB) site with potentially thousands of subdomains. Apparently it's not ...
1
vote
1answer
152 views

Deploying multiple apps on a single server with Phusion Passenger

I am currently running a simple Meteor.js application on a server using Phusion Passenger + Nginx. What I would like to do is to configure it so that I have one main app on www.example.com and ...
1
vote
1answer
210 views

Switching ruby versions with Passenger, getting error

I switched from 2.2.5 to 2.1.5 recently and noticed that I get an attempt to compile and download the interpreter as such: [ 2015-10-25 11:15:15.3328 8841/b6ad5b40 age/Cor/CoreMain.cpp:793 ]: ...
1
vote
1answer
417 views

Nginx not responding with rails app deployed on aws ec2 instance using capistrano

I have a rails application deployed through capistrano on an aws ec2 instance and have passenger nginx installed on the server as well. Whenever I try and access my application using the DNS or the ...
1
vote
0answers
1k views

Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory

My server on Centos 6.6 went down Phusion Passanger refuses to start of with following error: stdin: is not a tty /etc/init/delayed_job.conf: line 7: description: command not found start: Unable to ...
1
vote
0answers
311 views

Getting 403 Forbidden w. Referer on Nginx+Passenger

We're using Nginx 1.6.2 + Passenger 5.0.6 and have a vhost defined with PHP-FPM which serves a MODx installation. Only one location /sinatraapp serves a Sinatra App using Ruby 2.1.1. The setup is ...
1
vote
1answer
361 views

Apache server running Passenger can't display Rails app

I have a project that was pulled from github into my /home partition, and made symbolic links to the /var partition as per convention. How it looks : /home/vagrant/github/whois-dreyfus --> repo of ...
1
vote
0answers
378 views

Weird Phusion+nginx spawning delay error

We are trying to migrate an application written on REE from cloud provider A to cloud provider B. The application code, VM specs and operating systems are the same. The basic difference is that cloud ...
1
vote
1answer
2k views

Log errors from Passenger in vhost error.log

I'm running Phusion Passenger 4.0.40 with nginx. The server is used to host several websites and each has its own error.log file. However if an application crashes during startup, the error message ...
1
vote
1answer
706 views

All Passenger processes suddenly hang - backtrace indicates reading POST data?

I've been having problems with my nginx/Passenger server where requests appear to be getting stuck, any subsequent requests don't complete, the queue gets up to its max, and the site starts serving ...
1
vote
0answers
389 views

Rails app (Redmine) on Phusion Passenger is very slow on first request

I've recently deployed a Redmine app (production env) on an AWS server and every time I go to the page after a delay (10+ minues), it take a painfully long time for the page to load. After googling ...
1
vote
0answers
2k views

nginx passenger_root not accepting valid passenger gem location

I am trying to add passenger_root and passenger_ruby to my nginx.conf file, but when i try and restart NGINX I get the message: Starting nginx: nginx: [alert] Unable to start the Phusion Passenger ...
1
vote
2answers
455 views

passenger apache and nginx module not compiling on ubuntu 12.04LTS

I am doing all this from the root account. I have followed this guide: https://www.digitalocean.com/community/articles/how-to-install-rails-apache-and-mysql-on-ubuntu-with-passenger I have tried ...
1
vote
1answer
394 views

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 ...