Skip to content

Instantly share code, notes, and snippets.

@otype
Created June 28, 2009 20:53
Show Gist options
  • Save otype/137367 to your computer and use it in GitHub Desktop.
Save otype/137367 to your computer and use it in GitHub Desktop.
server {
listen 80;
server_name www.railsdev.otype.de;
rewrite ^/(.*) http://railsdev.otype.de/$1 permanent;
}
server {
listen 80;
server_name railsdev.otype.de;
access_log /home/hgschmidt/public_html/railsdev.otype.de/log/access.log;
error_log /home/hgschmidt/public_html/railsdev.otype.de/log/error.log;
root /home/hgschmidt/public_html/railsdev.otype.de/public/public;
passenger_enabled on;
rails_env production;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment