Update README.md

Fix #323.
This commit is contained in:
klzgrad 2022-10-05 20:00:38 +08:00 committed by GitHub
parent 90ceaaba8d
commit 2a968556c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,7 +52,9 @@ Example Caddyfile (replace `user` and `pass` accordingly):
hide_via
probe_resistance
}
file_server { root /var/www/html }
file_server {
root /var/www/html
}
}
```
`: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/).