Skip to content

Instantly share code, notes, and snippets.

@malev
Created April 8, 2012 19:36
Show Gist options
  • Save malev/2339504 to your computer and use it in GitHub Desktop.
Save malev/2339504 to your computer and use it in GitHub Desktop.
nginx.conf file for a virtual host
server {
listen 80;
server_name example.com www.example.com;
root /home/malev/sites/infofund/current/public;
access_log /home/malev/sites/infofund/current/log/infofund.access.log;
error_log /home/malev/sites/infofund/current/log/infofund.error.log;
rewrite_log on;
passenger_enabled on;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment