diff options
-rw-r--r-- | Documentation/yahns_config.pod | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/yahns_config.pod b/Documentation/yahns_config.pod index d8c6801..0182acf 100644 --- a/Documentation/yahns_config.pod +++ b/Documentation/yahns_config.pod @@ -451,6 +451,9 @@ An example which seems to work is: # but disable client certificate verification as it is rare: ssl_ctx.set_params(verify_mode: OpenSSL::SSL::VERIFY_NONE) + # Built-in session cache (only works if worker_processes is nil or 1) + ssl_ctx.session_cache_mode = OpenSSL::SSL::SSLContext::SESSION_CACHE_SERVER + app(:rack, "/path/to/my/app/config.ru") do listen 443, ssl_ctx: ssl_ctx end |