This commit is contained in:
Wu Xi 2022-08-10 14:41:27 +00:00 committed by GitHub
commit 50b66e3a0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -57,7 +57,8 @@ route {
hide_via
probe_resistance
}
file_server { root /var/www/html }
root * /var/www/html
file_server
}
```
`:443` must appear first for this Caddyfile to work. For more advanced usage consider using [JSON for Caddy 2's config](https://caddyserver.com/docs/json/).