Skip to content

Instantly share code, notes, and snippets.

@kanolato
Created January 10, 2018 17:34
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 kanolato/148ba3e0a2ebf6a1df9973afc25fed3f to your computer and use it in GitHub Desktop.
Save kanolato/148ba3e0a2ebf6a1df9973afc25fed3f to your computer and use it in GitHub Desktop.
Nginx serverblock example
server {
listen 80;
listen [::]:80;
root /var/www/c7-site/site;
index index.html;
server_name git-training.circulosiete.com www.git-training.circulosiete.com;
location / {
try_files $uri $uri/ =404;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment