Created
October 15, 2018 12:23
-
-
Save Ratstail91/e3dc727655c0b13fe80c1fe5b8db95de to your computer and use it in GitHub Desktop.
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 { | |
root /var/www/candyraid/public_html; #your files go here | |
index index.html index.htm; | |
server_name localhost candyraid.com www.candyraid.com ""; #your domain name goes here | |
access_log /var/www/candyraid/logs/access.log; #make sure this file exists first! | |
error_log /var/www/candyraid/logs/errors.log; #make sure this file exists first! | |
location / { | |
try_files $uri $uri/ /index.html =404; | |
} | |
#I also have a lot of SSL configuration stuff here generated by certbot-auto, just ignore it for now | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment