Skip to content

Instantly share code, notes, and snippets.

@jonluca
Last active March 16, 2018 21:47
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 jonluca/4046c6c3fcf13fbe4c8c35a1992465d4 to your computer and use it in GitHub Desktop.
Save jonluca/4046c6c3fcf13fbe4c8c35a1992465d4 to your computer and use it in GitHub Desktop.
Original Nginx Config
server{
listen 80;
server_name jonlu.ca www.jonlu.ca;
root /var/www/html;
index index.html index.htm;
location ~ /.git/ {
deny all;
}
location ~ / {
allow all;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment