Last active
March 16, 2018 21:47
-
-
Save jonluca/4046c6c3fcf13fbe4c8c35a1992465d4 to your computer and use it in GitHub Desktop.
Original Nginx Config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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