Fix auto_https typo to automatic_https

Matt Holt 2019-07-30 05:59:40 -07:00
parent e6a293ce79
commit f4469ab68f

@ -65,7 +65,7 @@ Features which are available in Caddy Enterprise are indicated with   🏢
- [http/servers/errors](#httpserverserrors)
- [http/servers/tls_connection_policies](#httpserverstls_connection_policies)
- [tls.certificate_selection.enterprise](#tlscertificate_selectionenterprise)
- [http/servers/auto_https](#httpserversauto_https)
- [http/servers/automatic_https](#httpserversautomatic_https)
- [tls]()
- [tls/certificates](#tlscertificates)
- [tls/automation](#tlsautomation)
@ -151,7 +151,7 @@ Default address: `localhost:2019`
Sets Caddy's configuration to the JSON body. The `Content-Type` header must indicate a JSON payload, e.g. `application/json`. Configuration changes are very lightweight and efficient.
_Enterprise_: If you are using the `/config` endpoint to modify configuration instead, you MUST NOT use `/load` because it lacks the capabilities for partial configuration changes.
_Note for Enterprise users_: If you are using the `/config/` endpoint to modify configuration instead, you MUST NOT use `/load` because it lacks the capabilities for partial configuration changes.
### Example
@ -408,7 +408,7 @@ A map of server ID (of your choice) to its configuration object. Each server is
"routes": [],
"errors": {},
"tls_connection_policies": [],
"auto_https": {},
"automatic_https": {},
"max_rehandles": 3,
"strict_sni_host": false
}
@ -423,7 +423,7 @@ A map of server ID (of your choice) to its configuration object. Each server is
- `routes`: The list of routes.
- `errors`: Configures how to handle errors during HTTP requests.
- `tls_connection_policies`: List of TLS connection policies.
- `auto_https`: Customize or disable automatic HTTPS.
- `automatic_https`: Customize or disable automatic HTTPS.
- `max_rehandles`: How many rehandles to allow; prevents infinite looping.
- `strict_sni_host`: If true, enforce that an HTTP Host header matches the connection's ServerName (SNI) value from the TLS handshake. Important when using TLS client authentication.
@ -1098,7 +1098,7 @@ All fields which are specified will be used to match certificates in the cache.
- `tag`: A tag added to the certificate when it was loaded into the cache. Tags may be added in the load_files or load_pem certificate loaders.
#### http/servers/auto_https
#### http/servers/automatic_https
Configures automatic HTTPS for this server. Automatic HTTPS consists of: