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

Passenger, Apache and avoiding page caching

I'm hosting a rack application with passenger and apache. The application is setup to cache the content of each request to the public directory after each request. This allows apache to serve the content directly as a static page for future…
Michael Guterl
0
votes
5 answers

Multiple rack apps on nginx + passenger, one as root, the other not...config

So I've got two apps I want to run on a server. One app I would like to be the "default" app--that is, all URLs should be sent this app by default, except for a certain path, lets call it /foo: http://mydomain.com/ ->…
None
0
votes
2 answers

Passenger: mod_rewrite rules for non-default page cache directory for Rails application

Does anybody have some working Apache mod_rewrite rules that enable Phusion Passenger (mod_rails) to use a non-default location for the page cache within a Rails application? I'd like the cached files to go in /public/cache rather than the default…
John Topley
  • 2,175
  • 3
  • 16
  • 17
0
votes
0 answers

out of memory leads to passenger shutdown and ensuing 502 error on nginx

The following snippet from the nginx error logs 2023/04/21 06:48:21 [info] 120787#120787: Using 32768KiB of shared memory for nchan in /etc/nginx/nginx.conf:63 2023/04/21 06:48:23 [notice] 120791#120791: signal process started [ N 2023-04-21…
Jerome
  • 207
  • 1
  • 8
0
votes
0 answers

Deploying multiple versions of the same app to distinct users on same server: passenger config

Context: Creating multiple users on a single server, each of which will have its copy of an application and own database. To be server by nginx configuration /etc/nginx/conf.d/mod-http-passenger.conf requires that the default set-up be modified so…
Jerome
  • 207
  • 1
  • 8
0
votes
2 answers

Ubuntu Slow Server Response; Initial Load; RoR

I have a rails app sitting on an Ubuntu 9.10 server located here: http://sandbox.incolo.com If you hit it initially, it takes about 4 seconds to do its initial load. Once the load has happened the server response nearly instantly. Any thoughts as…
Justin
0
votes
0 answers

Nginx+Passenger error log, Checking whether to disconnect long-running connections for process

I found these errors in my Nginx error logs. I use a dedicated server (Ubuntu) with 2 websites/apps (running also a sync engine with APIs) [ N 2022-10-21 11:40:55.2857 5800/T3 age/Cor/CoreMain.cpp:1147 ]: Checking whether to disconnect long-running…
alex.bour
  • 111
  • 1
  • 5
0
votes
0 answers

Ubuntu 22 need to have <1.14 nginx to install Passenger Phusion for Ruby app server

I'm trying to install Phusion Passenger but NGINX required is <1.14. For Ubuntu 22 the default is 1.18.X Need to have a slightly older version on the OS. thanks -R
BostonAreaHuman
  • 141
  • 1
  • 5
0
votes
1 answer

migrate, upgrade (redmine, passenger, os, ruby) from (4.1.1, 5.3, 18.04, 2.6.6) to (5.0.1, 6.0.14, 20.04, 3.0.4)

I need to upgrade a number of things: os (ubuntu) 18.04 => 20.04 ruby: 2.6.6 => 3.0.4 passenger: 5.3 => 6.0.14 redmine: 4.1.1 => 5.0.1 The one thing I can keep constant, at least for the migration, is the db, mysql 5.7 I've brought…
Gary Aitken
  • 123
  • 6
0
votes
1 answer

Passenger Apache - Forbidden You don't have permission to access this resource

I'm stuck with Apache with Passenger configuration. I spent a few days looking for a solution. I follow this instructions. I'm getting this message in the browser: Forbidden You don't have permission to access this resource. httpd.conf # Use…
neuroine
  • 1
  • 4
0
votes
1 answer

Trying to run passenger-status on a working rails apache-passenger server

I have an apache/passenger server that run rails apps, and this error is displayed when I try to run passenger-status : passenger-status ERROR: Phusion Passenger(R) doesn't seem to be running. If you are sure that it is running, then the causes of…
Sylario
  • 99
  • 1
  • 11
0
votes
1 answer

Passenger not running (Ruby on Rails + Nginx)

My AWS instance was working fine with my app. But, today, the server was down without memory ram. Then I run: sync; echo 1 > /proc/sys/vm/drop_caches sudo service nginx start After that, ram memory consumption is ok, but the app not. I'm running a…
Diego Somar
  • 101
  • 5
0
votes
2 answers

Apache Canonical Rewrite with Passenger (mod_rails)

I have a rails app served via Passenger (mod_rails) that I want to have a canonical URL. I want all requests to go to http://mydomain.com (so, rewrite http://www.mydomain.com to http://mydomain.com). On my other non-Rails apps, I accomplish this…
neezer
  • 810
  • 3
  • 12
  • 29
0
votes
1 answer

Get rid of content ripping bots in a Rails 4 app served by Nginx using Passenger on Ubuntu 16.04

Our rails app is being inundated with requests from bots that are trolling using IP addresses. Every request results in an exception notification error message. Our original Nginx server block: server { server_name example.com www.example.com…
Jay
  • 191
  • 2
  • 11
0
votes
1 answer

How do I access site.project.rails (running on host) from VMWare fusion?

I have a rails app setup and running on my snow leopard MacBook - the app is being served by Passenger. As part of the setup they had me add entries for 127.0.0.1 site.project.rails in my hosts file so I could reach the site from…
Johnny Mnemonic