Fork me on GitHub
#luminus
<
2017-09-25
>
danielsu05:09:02

Thanks, got it working now.

zlrth13:09:09

in a luminus app, i got ssl running via “App SSL Config” here: http://www.luminusweb.net/docs/deployment.md the docs mention setting :port to nil to disable access on port 80. how do i redirect http://example.com to https://example.com?

gklijs18:09:00

@mfm check the ssl-redirect-response at https://github.com/ring-clojure/ring-ssl/blob/master/src/ring/middleware/ssl.clj , you can probably do something similar.

zlrth18:09:53

thanks! will look into it