Skip to content

Instantly share code, notes, and snippets.

@jason-shen
Created October 9, 2021 13:10
Show Gist options
  • Save jason-shen/7da31c8295a47b0679c9c2e03168f3f7 to your computer and use it in GitHub Desktop.
Save jason-shen/7da31c8295a47b0679c9c2e03168f3f7 to your computer and use it in GitHub Desktop.
New Gist
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