From 6f8d780b59d33b8376627315fe665a6e4fcc2104 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marius=20Bal=C4=8Dytis?= Date: Thu, 18 Apr 2019 13:06:06 +0300 Subject: [PATCH] Fixes documentation for HSTS configuration options (#9238) If `"hsts"` is removed or `null` is provided, configuration cannot be saved. --- source/_addons/nginx_proxy.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_addons/nginx_proxy.markdown b/source/_addons/nginx_proxy.markdown index 4bf6c3ad9af..b0e29ece559 100644 --- a/source/_addons/nginx_proxy.markdown +++ b/source/_addons/nginx_proxy.markdown @@ -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.