Skip to content

Commit

Permalink
configuration improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
d-t-w committed Dec 9, 2024
1 parent c0ee99d commit f5d94da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 3 additions & 1 deletion common/src/slipway/connector/https.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit f5d94da

Please sign in to comment.