logo
down
shadow

Output current Phusion Passenger configuration values


Output current Phusion Passenger configuration values

By : vingosj
Date : November 21 2020, 01:01 AM
help you fix your problem Try passenger-status --show=xml. It will show you the internal state as an XML dump, including memoized configuration options.
code :


Share : facebook icon twitter icon
Phusion Passenger Configuration via .htaccess

Phusion Passenger Configuration via .htaccess


By : Киселев Владимир
Date : March 29 2020, 07:55 AM
this one helps. Looks like the solution was to set RailsBaseURI to the path relative from the DocumentRoot on the server, not the REQUEST_URI!
I had thought it referred to the actual URI string, but it turns out that is not the case!
What does Phusion Passenger mean when it's described as not needing any configuration?

What does Phusion Passenger mean when it's described as not needing any configuration?


By : ampbe llelise
Date : March 29 2020, 07:55 AM
should help you out The config.ru is not so much configuration actually. In fact it is the main entry point to a Rack application (e.g a Rails app, but also Sinatra and others). As such it is part of your application and not part of the webserver configuration.
Phusion Passenger configuration: How passenger_min_instances affects the sub-URI setup

Phusion Passenger configuration: How passenger_min_instances affects the sub-URI setup


By : Md. Zahedul Islam
Date : March 29 2020, 07:55 AM
I wish did fix the issue. You can put configuration for a specific base URI in a location block. Like this:
code :
location ~ ^/nbhy(/.*|$) {
    ...
    passenger_min_instances 2;
}
location ~ ^/bt(/.*|$) {
    ...
    passenger_min_instances 3;
}
Is it possible to use Phusion Passenger Enterprise and Phusion Passenger Open source for same app but different server

Is it possible to use Phusion Passenger Enterprise and Phusion Passenger Open source for same app but different server


By : Khaled Riad
Date : March 29 2020, 07:55 AM
it helps some times Passenger author here. Yes it is possible and it doesn't violate the license. Here is an example for Heroku but the concept is applicable generally.
Phusion Passenger + Heroku + Cloudfront: CORS Configuration

Phusion Passenger + Heroku + Cloudfront: CORS Configuration


By : Panczel Jazon
Date : March 29 2020, 07:55 AM
seems to work fine I tried using the rack-cors gem but it took me a while to notice that although using Heroku's Rails 12 Factor Gem Phusion Passenger 5.0.10 (Nginx) was serving the assets.
Just for future reference, based on @user664833's solution, here's my setup for running a Rails 4.2 application hosted on Heroku with Phusion Passenger as server and Amazon Cloudfront as CDN, using cdn.my-domain.com as a CNAME for the distribution and restricting only to GET and HEAD requests for subdomains of my-domain.com:
shadow
Privacy Policy - Terms - Contact Us © ourworld-yourmove.org