Created
January 10, 2018 17:34
-
-
Save kanolato/148ba3e0a2ebf6a1df9973afc25fed3f to your computer and use it in GitHub Desktop.
Nginx serverblock example
This file contains hidden or 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; | |
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