Videofon, podjetje za snemanje propagandno-izobraževalnih filmov, d.o.o.
Welcome to Caddy! Your web server is successfully running, and it's time to harness its power for your website.
Caddy is prepped to serve your site securely over HTTPS. To do this, follow these simple steps:
| Step | Action |
| 1 | Point your domain's A/AAAA DNS records at this machine. |
| 2 | Upload your site's files into the /var/www/html directory. |
| 3 | Edit the Caddyfile located at /etc/caddy/Caddyfile: |
| - | Replace :80 with your domain name. |
| - | Change the site root to /var/www/html. |
| 4 | Reload the configuration using systemctl reload caddy. |
| 5 | Visit your site! |
If you encounter issues:
systemctl status caddy.journalctl --no-pager -u caddy.Before retrying, switch to Let's Encrypt's staging environment to prevent rate limiting and wait for DNS records to propagate, which can take some time.
Caddy is not just for serving static files; it is also a robust reverse proxy and application platform. Utilize the Caddyfile to activate any features you require or configure it programmatically via Caddy's API. For detailed guidance, refer to Caddy's documentation or your operating system's manual.
If you still need help, the Caddy community is here for you. Search for answers or ask original questions if needed. Remember, collaboration is key!
Have fun utilizing Caddy to its fullest potential!