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

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 in the Rails app. The Rails app is in…
Rory Fitzpatrick
  • 183
  • 1
  • 2
  • 9
1
vote
1 answer

Mod_rails slow boot

I'm completely new in Rails and I'm facing this problem: My application runs fine on my development machine when I use script/server (called webrick I guess) The problem is when I put the application online with mod_rails. It takes forever to start…
Ivan
1
vote
1 answer

Deploying Rails App on Elastic Beanstalk - Is WEBrick automatically replaced by passenger?

Quick Question: I develop a ruby on rails application on my laptop. Rails has WEBrick installed as an out of the box APPLICATION server. I deploy my app on amazon web services elastic beanstalk. I choose The configuration: Ruby 2.2 with Passenger…
1
vote
2 answers

Hosting many Ruby on Rails Applications/Sites

We are looking to host some 50-100 rails apps. What would be the best server model to handle this? By server model, I mean like several load balanced servers or small VPS per site etc. I've used "mod_rails" and a good estimate is that each site is…
1
vote
1 answer

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-http_gzip_static_module --with-http_stub_status_module…
Wordica
  • 142
  • 1
  • 8
1
vote
1 answer

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/current/public; passenger_base_uri /app1; …
1
vote
1 answer

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 possible to use A-records with AWS, as they do server…
1
vote
1 answer

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 additional apps on www.example.com/app1,…
bjrnt
  • 111
  • 3
1
vote
1 answer

Nginx doesn't start Passenger/Nodejs

I cannot get Passenger to start my Nodejs (iojs) application on restarting nginx. I've followed the tutorials and installed the prerequisites: $ nginx -V nginx version: nginx/1.8.0 configure arguments: --with-cc-opt='-g -O2 -fstack-protector…
Maruf
  • 159
  • 9
1
vote
1 answer

Can't upload files in redmine (using centos 7)

I installed redmine 2.6.6.stable in a centos 7 vm (kernel 3.10.0-229.7.2.el7.x86_64). So far it's fine, but I'm currently unable to upload files. Googling around I found out that the Passenger writes these files…
Bruno Lamps
  • 121
  • 7
1
vote
1 answer

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 public IP provided, all I get is the browser…
1
vote
0 answers

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 below and works pretty well but we encountered ONE…
1
vote
0 answers

Nginx and passenger request timeout (nginx status code 499)

DISCLAIMER: I have read numerous posts here, on stackoverflow and other pages and I could not come up with a solution, so hopefully this helps. We are running a Rails App on Passenger together with nginx and HAProxy. Passenger: 4.0.7 Nginx:…
leifg
  • 171
  • 1
  • 8
1
vote
1 answer

ProxyPass in nginx

I am trying to proxy_pass in nginx with the following configuration: location /abc_service { proxy_pass http://127.0.0.1:3030; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; } But I am getting…
Satyam Singh
  • 113
  • 5
1
vote
1 answer

Changes on Puppetmaster not always immediately recognized by Puppet-agents

Introduction It occurs a number of times a day that changes on the Puppetmaster are not recognized immediately by the Puppet agents. If this is the case Puppet needs to be run more than 5 times (e.g. X<5min) before the changes are recognized.…
030
  • 5,901
  • 13
  • 68
  • 110