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
2
votes
1 answer

NGINX redirect HTTPS partially works

I try to reddirect all my traffic on https. I use AWS, passenger + NGINX . So far with my smartphone ( android ) , chrome last version : http://server_name.com redirect to https... at home on my computer chrome last version reddirect aswell. But on…
Chim
  • 21
  • 2
2
votes
1 answer

Why is my request queueing time so high?

I am running a Rails application server. My setup is: Apache 2, using mod_ssl for both https and ssl client certificates Phusion Passenger 5 Rails 4 Ruby 2.1 I use NewRelic to monitor the running application. I recently enabled monitoring for…
YWCA Hello
  • 203
  • 1
  • 2
  • 9
2
votes
1 answer

Passenger could not spawn process for application. Rails, ubuntu, passenger and apache

My application is crashing again and again. I am using the hosting services of digital ocean the status of the server are also displayed in the image (It start working when I restart the server but that is not the solution. After sometime it again…
Azmat Rana
  • 121
  • 1
  • 3
2
votes
0 answers

Nginx Using KiB of shared memory for push module in

I'm setup nginx with passenger on a ubuntu 14.04 and the nginx is throwing 403 Forbidden error I checked the permissions and it is all ok. I checked the nginx conf and it seems ok user root; worker_processes 1; error_log logs/error.log; events…
Daniel
  • 21
  • 1
  • 2
2
votes
4 answers

Customer Passenger Error Pages

How do you replace the Passenger Application failed to load error messages. They are lovely, but I'd rather not display them when we move our application to production. It'd be better to just show them on the dev box and maintenance page on the live…
Adam
  • 321
  • 1
  • 3
  • 6
2
votes
0 answers

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.)
Cenoc
  • 217
  • 1
  • 12
2
votes
1 answer

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: ServerName redmine.xyz.com ServerAdmin someone@somewhere …
hjpotter92
  • 670
  • 1
  • 10
  • 20
2
votes
1 answer

Apache passenger setup - Multiple projects under same domain

I want to setup different projects under same domain with different ruby version for each app. Eg: example1.com is a main app which runs on Ruby 1.8.7 example1.com/tasks is another app which runs on Ruby 1.9.2 I tried some of the setup in apache2…
Lohith MV
  • 121
  • 3
2
votes
1 answer

nginx is not defining $scheme

I just upgraded from nginx 1.4.1 to 1.8.0 (along with an upgrade to Phusion Passenger 5.0.13). With that change the $scheme variable from our configuration no longer seems be set. The nginx configuration looks something like this: server { …
jwadsack
  • 201
  • 1
  • 8
2
votes
0 answers

Apache 2.4 & Phusion Passenger generating 403 Error

I'm trying to setup a Rails application (Project Fedena) on the following Server configuration. I am using the virtual host configuration below. I get a 403 when I visit the IP/Domain. There's only one user on this server, root. Google Cloud -…
Ralph
  • 862
  • 11
  • 26
2
votes
1 answer

Why does passenger-install-nginx-module neither install Nginx nor implement Passenger support on Centos7 while the output indicates the contrary?

Introduction At the moment there are approximately 100 Puppet agents that connect to the Puppetmaster. Sometimes it takes a while before implemented changes on the Puppetmaster are picked up by the agents. Some information has been found that…
030
  • 5,901
  • 13
  • 68
  • 110
2
votes
1 answer

How to tell how Apache might be broken and preventing the ruby passenger module from installing

I'm installing a ruby on rails application to a Ubuntu 14.04 server. As part of it, I need to install the passenger module for Apache. When I go to run the "passenger-install-apache2-module" I receive a message that "Your Apache installation might…
RedLee
  • 23
  • 1
  • 4
2
votes
1 answer

File descriptor limit in nginx/Passenger app

We're running a Rails app in Passenger 4.0.45 and nginx 1.6.0 (installed by Passenger installer) running on Ubuntu 14.04. Under heavy load Passenger restarts all of the application processes. After enabling passenger debug logs, I found "Cannot…
Robin Daugherty
  • 501
  • 5
  • 7
2
votes
1 answer

Phusion Passenger and Snow Leopard

I just installed Snow Leopard and now I am getting the following error when trying to access a site running under Passenger: /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.4/ext/phusion_passenger/native_support.bundle:…
magnushjelm
  • 123
  • 5
2
votes
1 answer

Apache dispatch.fcgi doesn't get interpreted with Passenger

I've installed passenger as ruby gem. I've added following to /etc/apache2/apache2.conf LoadModule passenger_module /var/lib/gems/1.8/gems/passenger-2.2.4/ext/apache2/mod_passenger.so PassengerRuby /usr/bin/ruby PassengerRoot…
Jakub Arnold
  • 1,744
  • 10
  • 26
  • 33