Skip to content

Instantly share code, notes, and snippets.

@danieldeusing
Last active May 27, 2020 18:02
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 danieldeusing/259d95ffb1e2fc977ed49d0bf5ff46cb to your computer and use it in GitHub Desktop.
Save danieldeusing/259d95ffb1e2fc977ed49d0bf5ff46cb to your computer and use it in GitHub Desktop.
nginx example conf
server {
listen 80;
listen [::]:80;
root /var/www/example.com;
index index.html;
server_name example.com www.example.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