Sha256: bec53a1dd21cdb97a61d86633fc91240a427dcb0fdc94c511493950f5a07fafa

Contents?: true

Size: 810 Bytes

Versions: 68

Compression:

Stored size: 810 Bytes

Contents

<banner>Deploying a Ruby on Rails application: an example</banner>

Suppose you have a Ruby on Rails application in <b>/somewhere</b>. Add a <b>server</b> block
to your Nginx configuration file, set its <b>root</b> to <b>/somewhere/public</b>, and set
<b>'passenger_enabled on'</b>, like this:
<b>
   server {
      listen 80;
      server_name www.yourhost.com;
      root /somewhere/public;   # <--- be sure to point to 'public'!
      passenger_enabled on;
   }
</b>
And that's it! You may also want to check the Users Guide for security and
optimization tips and other useful information:

  <yellow><%= @users_guide %></yellow>

Enjoy Phusion Passenger, a product of Phusion (<b><%= @phusion_website %></b>) :-)
<b><%= @passenger_website %></b>

Phusion Passenger is a trademark of Hongli Lai & Ninh Bui.

Version data entries

68 entries across 68 versions & 7 rubygems

Version Path
passenger-3.0.2 lib/phusion_passenger/templates/nginx/deployment_example.txt.erb
passenger_dudemeister-3.0.1 lib/phusion_passenger/templates/nginx/deployment_example.txt.erb
passenger-3.0.1 lib/phusion_passenger/templates/nginx/deployment_example.txt.erb
passenger-3.0.0 lib/phusion_passenger/templates/nginx/deployment_example.txt.erb
passenger-3.0.0.pre4 lib/phusion_passenger/templates/nginx/deployment_example.txt.erb
passenger-3.0.0.pre3 lib/phusion_passenger/templates/nginx/deployment_example.txt.erb
passenger-3.0.0.pre2 lib/phusion_passenger/templates/nginx/deployment_example.txt.erb
passenger-3.0.0.pre1 lib/phusion_passenger/templates/nginx/deployment_example.txt.erb
passenger-2.2.15 lib/phusion_passenger/templates/nginx/deployment_example.txt.erb
passenger-2.2.14 lib/phusion_passenger/templates/nginx/deployment_example.txt.erb
passenger-2.2.13 lib/phusion_passenger/templates/nginx/deployment_example.txt.erb
passenger-2.2.12 lib/phusion_passenger/templates/nginx/deployment_example.txt.erb
colouringcode-passenger-0.2 lib/phusion_passenger/templates/nginx/deployment_example.txt.erb
passenger-2.2.11 lib/phusion_passenger/templates/nginx/deployment_example.txt.erb
passenger-jmazzi-2.2.10 lib/phusion_passenger/templates/nginx/deployment_example.txt.erb
passenger-2.2.10 lib/phusion_passenger/templates/nginx/deployment_example.txt.erb
passenger-jmazzi-2.2.9 lib/phusion_passenger/templates/nginx/deployment_example.txt.erb
passenger-2.2.9 lib/phusion_passenger/templates/nginx/deployment_example.txt.erb
passenger-2.2.8 lib/phusion_passenger/templates/nginx/deployment_example.txt.erb
colouringcode-passenger-0.1 lib/phusion_passenger/templates/nginx/deployment_example.txt.erb