From f5d94da2ebaa1ac42a1ed9c6176a6066073c82df Mon Sep 17 00:00:00 2001 From: Derek Troy-West Date: Mon, 9 Dec 2024 22:45:10 +1100 Subject: [PATCH] configuration improvements --- README.md | 2 +- common/src/slipway/connector/https.clj | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9c0fef53..e956a1f3 100644 --- a/README.md +++ b/README.md @@ -186,7 +186,7 @@ Jetty is sophisticated as it addresses a complex domain with flexibility and con Slipway holds close to Jetty idioms for configuration rather than presenting a simplified DSL. -Slipway takes a map of namespaced configuration. +Slipway takes a single map of namespaced configuration. Namespaces correspond to Jetty domain models, and can be considered as separate maps and then merged. ### :slipway diff --git a/common/src/slipway/connector/https.clj b/common/src/slipway/connector/https.clj index a517a1b7..78c08d83 100644 --- a/common/src/slipway/connector/https.clj +++ b/common/src/slipway/connector/https.clj @@ -111,7 +111,9 @@ :sni-required? "if true SNI is required, else requests will be rejected with 400 response, default false" :sni-host-check? "if true the SNI Host name must match when there is an SNI certificate, default false" :sts-max-age "set the Strict-Transport-Security max age in seconds, default -1" - :sts-include-subdomains? "true if a include subdomain property is sent with any Strict-Transport-Security header"}) + :sts-include-subdomains? "true if a include subdomain property is sent with any Strict-Transport-Security header" + :send-server-version? "if true, send the Server header in responses" + :send-date-header? "if true, send the Date header in responses"}) (defmethod server/connector ::connector [^Server server {::keys [host port idle-timeout proxy-protocol? http-config configurator]