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

deny rule is not filtering entirely

The following block location ~ /(wp-content|solr|jsonws|mifs|wp-includes|login.asp)/ { return 404; } is not processing en/blog/wp-includes/wlwmanifest.xml appropriately. The intent is to process any request that contains the string…
Jerome
  • 207
  • 1
  • 8
2
votes
4 answers

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 assume this is /etc/apache2/httpd.conf.
grifaton
  • 141
  • 1
  • 4
2
votes
0 answers

passenger-memory-stats works, but passenger-status does not (Passenger + Apache)

I have an application running on Passenger+Apache. (It's running fine.) When I run passenger-status, though, it gives ERROR: Phusion Passenger doesn't seem to be running. I've checked the Apache config to confirm that I'm running the proper…
JellicleCat
  • 294
  • 2
  • 4
  • 17
1
vote
1 answer

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 thought passenger was able to manage this…
1
vote
0 answers

How can I debug Ruby Process that keeps climbing?

A few days ago all 4 of my app servers started having issues. It came after I deployed some code, but all I did was update a local database file that stores some IP Addresses, so I didn't make any actual code changes. It seems like right around that…
Sean
  • 111
  • 1
1
vote
1 answer

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…
jimeh
  • 121
  • 5
1
vote
0 answers

ELB Instance Internal IP disclosure

There is a vulnerability detected by Nessus that involves Internal IP Disclosure in the Elastic Beanstalk servers with Nginx and Phusion Passenger at the response headers, in the Location header. I already tried setting in the…
1
vote
2 answers

nginx passenger - restart app periodically or when it reaches too high memory

I have a memory leak on one of my apps being served with nginx + passenger and a min/max_instances 2 setting. Memory keeps growing up as time passes by, and this can be a problem on a machine with limited memory (eg Amazon Web Services) that can end…
1
vote
2 answers

Log files not being written (Passenger)

Locally, my app runs fine on and writes to it's logs. My production server is running CentOS with an Apache server running Passenger. When trying to debug, I noticed my log files were not being written to. First thing I did was chmod 0666 them, and…
None
1
vote
1 answer

Solved: rails app on nginx + passenger behind apache2 mod_proxy, ajax upload fails with error 500

The situation is as follows: I made a migration of a rails app from an Ubuntu server with nginx + passenger to a debian server with apache2 + passenger. All was fine until we tested some ajax functions loading templates with handlebars.js and other…
Rou
  • 31
  • 6
1
vote
0 answers

/home, /tmp, /var on a separated partition and PassengerWatchdog and PassengerHelperAgent are running as root

I recently had a security audit on a Ubuntu 16.04 server and have 2 issues that I'm struggling to address. This is a server that can only be accessed through command-line/ssh and is hosted on AWS. 1) The auditor required that the /home, /tmp and…
Tina
  • 11
  • 1
1
vote
0 answers

Passenger has modified NODE_PATH which my app uses during startup

I'm implementing Passenger, on an Apache server (a Digital Ocean droplet, running Ubuntu 16.04), with a Node.js app. Webpack successfully builds the static .js file, and Node successfully runs the startup. However, when accessing the site from a…
Tom Oakley
  • 113
  • 4
1
vote
1 answer

Trouble with Passenger/Apache2 - Error 403

I need to upgrade my Redmine installation. I'm on a Mac OS X Server 10.6.8 (unfortunately, this is a given - can't update the system to a new version right now). In the process, I had issues with installing a newer version of Ruby (required by the…
1
vote
1 answer

502 Bad Gateway error using Nginx/Passenger on Mac OS X (10.6.1)

After several hours of battling with this anomaly, I've finally admitted defeat. If anyone here can help me I would be most grateful! QUICK SUMMARY: I have this error in my Nginx error log: 2009/11/09 02:49:59 [error] 90#0: *7 connect() to…
i0n
  • 283
  • 1
  • 3
  • 8
1
vote
0 answers

Phusion Passenger undefined symbol ap_log_error and duplicate Apache version

I try to install Phusion Passenger on my CentOS 6. After follow installation instruction from https://www.phusionpassenger.com/library/install/apache/install/oss/el6/ The last step is to restart Apache and I got.. $ sudo service httpd…
worrawut
  • 111
  • 4