Fixes documentation for HSTS configuration options (#9238)

If `"hsts"` is removed or `null` is provided, configuration cannot be saved.
This commit is contained in:
Marius Balčytis 2019-04-18 13:06:06 +03:00 committed by Fabian Affolter
parent 72c3722a86
commit 6f8d780b59

View File

@ -41,8 +41,8 @@ keyfile:
required: true
type: string
hsts:
description: Value for the [`Strict-Transport-Security`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security) HTTP header to send. If empty or `null`, the header is not sent.
required: false
description: Value for the [`Strict-Transport-Security`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security) HTTP header to send. If empty, the header is not sent.
required: true
type: string
customize:
description: If true, additional NGINX configuration files for the default server and additional servers are read from files in the `/share` directory specified by the `default` and `servers` variables.