Web Development with Clojure, Third Edition:

Title: Web Development with Clojure: HTTPS Support (pages 5, 31)

Where would I learn about extending the book’s guestbook example to support HTTPS and SSL? Although I am not sure, it does not look like http-kit supports HTTPS. I see that https://luminusweb.com/docs/deployment.html#setting_up_ssl discusses SSL, but I think because the two options are +immutant and NginX, these solutions do not apply to the guestbook example.

(@Dmitri and @svmbrown tags added by @Margaret )

Hi,

Fronting http-kit with nginx would be the right approach since http-kit doesn’t support HTTPS. However, it’s also possible to use undertow adapter that supports HTTP natively. You’d have to switch luminus-http-kit dependency with [luminus-undertow "0.1.11"]. Then you can use the options documented here GitHub - luminus-framework/ring-undertow-adapter: Ring Undertow adapter when initializing the HTTP server.

Thanks @Dmitri!