From 38fdfa4fc3b23892d7af3974c442312623ff7b35 Mon Sep 17 00:00:00 2001 From: daninus14 Date: Fri, 6 Sep 2024 03:31:14 +0300 Subject: [PATCH] Update README.md for SSL Support --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index 98b43cf..a349f7f 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,24 @@ Remember to pass ":debug nil" to turn off the debugger mode on production enviro :worker-num 4) ``` +### SSL Support + +Use SSL key arguments of `woo:run` or `clack:clackup`. + +```commonlisp +(woo:run app + :ssl-cert-file #P"path/to/cert.pem" + :ssl-key-file #P"path/to/key.pem" + :ssl-key-pass "password") + +(clack:clackup app + :ssl-cert-file #P"path/to/cert.pem" + :ssl-key-file #P"path/to/key.pem" + :ssl-key-pass "password") +``` + +To disable the HTTPS support to omit a dependency on CL+SSL, add `woo-no-ssl` to `cl:*features*`. + ## Signal handling When the master process gets these signals, it kills worker processes and quits afterwards.