Created
October 9, 2021 13:10
-
-
Save jason-shen/7da31c8295a47b0679c9c2e03168f3f7 to your computer and use it in GitHub Desktop.
New Gist
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
Caddy is ready to serve your site over HTTPS: | |
Point your domain's A/AAAA DNS records at this machine. | |
Upload your site's files to /var/www/html. | |
Edit your Caddyfile at /etc/caddy/Caddyfile: | |
Replace :80 with your domain name | |
Change the site root to /var/www/html | |
Reload the configuration: systemctl reload caddy | |
Visit your site! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment