Skip to content

Instantly share code, notes, and snippets.

@nishantmodak
Last active August 29, 2015 14:18
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 nishantmodak/8008a31110dc49349a9d to your computer and use it in GitHub Desktop.
Save nishantmodak/8008a31110dc49349a9d to your computer and use it in GitHub Desktop.
sites-enabled/example.com
server {
listen 80;
server_name www.example.com example.com;
access_log /var/log/Nginx/example_com_access.log;
error_log /var/log/Nginx/example_com_error.log;
location / {
root /var/www/www.example.com;
index index.html index.htm;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment