Skip to content

Instantly share code, notes, and snippets.

@plentz
Created August 6, 2010 18:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save plentz/511741 to your computer and use it in GitHub Desktop.
Save plentz/511741 to your computer and use it in GitHub Desktop.
server {
listen 80;
server_name foo.bar.com;
root /home/ruby/apps/my_app/public;
passenger_enabled on;
rails_env foo;
}
server {
listen 80;
server_name yey.bar.com;
root /home/ruby/apps/my_app/public;
passenger_enabled on;
rails_env yey;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment