+ Your web server is working. Now make it work for you. 💪 +
++ Caddy is ready to serve your site over HTTPS: +
+/var/www/html
.
+ /etc/caddy/Caddyfile
:
+ :80
with your domain name/var/www/html
systemctl reload caddy
+ Awesome! You won't have to look at this slanted page anymore. +
++ Remember, Caddy can do a lot more than serve static files. It's also a powerful reverse proxy and + application platform. You can use the Caddyfile to enable any other features you need. Or you could use + Caddy's API to configure it programmatically. +
++ Everything you need to know is either in the 📖 Caddy + documentation or the manual for your OS/platform. Have fun! +
- h1 .lang { - margin-right: 1.5em; - } - - h2 { - font-size: 28px; - margin-top: 1.5em; - } - - p, - ol, - ul { - color: #333; - line-height: 1.5em; - } - - p { - margin: 1.5em 0; - } - - ol, - ul { - margin: .5em 0 .5em 2em; - } - - ol li, - ul li { - margin-left: 1em; - margin-bottom: .5em; - } - - li ol { - list-style-type: lower-alpha; - } - - code { - color: #000; - font-family: Menlo, monospace; - background: #f0f0f0; - border-radius: 2px; - padding: 4px 8px; - font-size: 90%; - } - - .warn { - color: #dd0000; - } - - footer { - color: #777; - font-size: 16px; - text-align: center; - max-width: 600px; - margin: 0 auto 50px; - } - - #disclaimer { - font-size: 14px; - margin-top: 20px; - display: inline-block; - border-top: 1px solid #ccc; - padding: 20px; - } - - @media (max-width: 1100px) { - .stack { - width: 85%; - } - } - - @media (max-width: 800px) { - .stack { - margin: 0 0 50px 0; - width: 100%; - } - - .paper { - padding: 50px; - } - - #paper1, - #paper2 { - display: none; - } - - #paper3 { - left: 0; - transform: none; - top: 0; - } - - #caddy { - margin-bottom: 25px; - } - } - - - -- Your web server is working. Now make it work for you. 💪 -
-- Caddy is ready to serve your site over HTTPS: -
-/var/www/html
.
- /etc/caddy/Caddyfile
:
- :80
with your domain name/var/www/html
systemctl reload caddy
- Awesome! You won't have to look at this slanted page anymore. -
-- Remember, Caddy can do a lot more than serve static files. It's also a powerful reverse proxy and application platform. You can use the Caddyfile to enable any other features you need. Or you could use Caddy's API to configure it programmatically. -
-- Everything you need to know is either in the 📖 Caddy documentation or the manual for your OS/platform. Have fun! -
- -- It's okay, you can fix it! First check the following things: -
-systemctl status caddy
journalctl --no-pager -u caddy
ls -la /var/www/html
ls -la /var/lib/caddy
dig example.com
- WAIT! Before trying again, switch to Let's Encrypt's staging environment to avoid being accidentally rate limited. Once you get everything else working, it's safe to switch back. -
-- Depending on your DNS provider, it may take a while for the DNS records to propagate. Even when everything is configured properly, automated challenges to obtain TLS certificates usually take several seconds, but may take up to several minutes or hours. -
- If you still need help, we have a great community! First try a search, and if your question is original, go ahead and ask it! Remember to pay it forward and help others too. 😁 -
-- Visit Caddy on: - GitHub - or - Twitter - or - Our Forum -
-+ It's okay, you can fix it! First check the following things: +
+systemctl status caddy
journalctl --no-pager -u caddy
ls -la /var/www/html
ls -la /var/lib/caddy
dig example.com
+ WAIT! Before trying again, switch to Let's Encrypt's staging environment to + avoid being accidentally rate limited. Once you + get everything else working, it's safe to switch back. +
++ Depending on your DNS provider, it may take a while for the DNS records to propagate. Even when + everything is configured properly, automated challenges to obtain TLS certificates usually take several + seconds, but may take up to several minutes or hours. +
+ If you still need help, we have a great community! First try a search, and if your question is original, go ahead + and ask it! Remember to pay it forward and help others too. 😁 +
++ Visit Caddy on: + GitHub + or + Twitter + or + Our Forum +