docs: Finish truncated paragraph

This commit is contained in:
Matthew Holt 2020-06-02 10:45:44 -06:00
parent 9441648ca8
commit 732946823c
No known key found for this signature in database
GPG key ID: 2A349DD577D586A5

View file

@ -121,4 +121,4 @@ Structurally, the Caddyfile is a simple format, so there can be different types
The default Caddyfile format is the HTTP Caddyfile, which you are probably familiar with. This format primarily configures the [`http` app](/docs/modules/http) while only potentially sprinkling some config in other parts of the Caddy config structure (e.g. the `tls` app to load and automate certificates). The default Caddyfile format is the HTTP Caddyfile, which you are probably familiar with. This format primarily configures the [`http` app](/docs/modules/http) while only potentially sprinkling some config in other parts of the Caddy config structure (e.g. the `tls` app to load and automate certificates).
To configure apps other than HTTP, you may want to implement your own config adate To configure apps other than HTTP, you may want to implement your own config adapter that uses [your own server type](https://pkg.go.dev/github.com/caddyserver/caddy/v2/caddyconfig/caddyfile?tab=doc#Adapter). The Caddyfile adapter will actually parse the input for you and give you the list of server blocks, and options, and it's up to your adapter to make sense of that structure and turn it into a JSON config.