Debian Codegraph @

dist/config/Caddyfile

raw
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 ":80" below with your
9 # domain name.
10
11 :80 {
12 # Set this path to your site's directory.
13 root * /usr/share/caddy
14
15 # Enable the static file server.
16 file_server
17
18 # Another common task is to set up a reverse proxy:
19 # reverse_proxy localhost:8080
20
21 # Or serve a PHP site through php-fpm:
22 # php_fastcgi localhost:9000
23 }
24
25 # Refer to the Caddy docs for more information:
26 # https://caddyserver.com/docs/caddyfile