Caddyfile 760 B

12345678910111213141516171819202122232425
  1. # The Caddyfile is an easy way to configure your Caddy web server.
  2. #
  3. # Unless the file starts with a global options block, the first
  4. # uncommented line is always the address of your site.
  5. #
  6. # To use your own domain name (with automatic HTTPS), first make
  7. # sure your domain's A/AAAA DNS records are properly pointed to
  8. # this machine's public IP, then replace the line below with your
  9. # domain name.
  10. :80
  11. # Set this path to your site's directory.
  12. root * /usr/share/caddy
  13. # Enable the static file server.
  14. file_server
  15. # Another common task is to set up a reverse proxy:
  16. # reverse_proxy localhost:8080
  17. # Or serve a PHP site through php-fpm:
  18. # php_fastcgi localhost:9000
  19. # Refer to the Caddy docs for more information:
  20. # https://caddyserver.com/docs/caddyfile