Skip to content

Instantly share code, notes, and snippets.

@Meandmybadself
Last active January 4, 2020 17:54
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 Meandmybadself/3cbc7628ca6b52ed6d3331f96ab891ef to your computer and use it in GitHub Desktop.
Save Meandmybadself/3cbc7628ca6b52ed6d3331f96ab891ef to your computer and use it in GitHub Desktop.
NGINX basic server config
http {
index index.html;
server {
server_name www.domain.com domain.com
access_log logs/www.domain.com.access.log main;
root /var/www/www.domain.com/;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment