Skip to content

Instantly share code, notes, and snippets.

@josemarluedke
Created October 10, 2012 20:50
Show Gist options
  • Save josemarluedke/3868331 to your computer and use it in GitHub Desktop.
Save josemarluedke/3868331 to your computer and use it in GitHub Desktop.
Nginx configuration for passenger and capistrano
# Edit the file:
vim /opt/nginx/conf/nginx.conf
server {
listen 80;
server_name www.example.com;
location / {
root /home/deploy/www/application/current/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