This commit is contained in:
parent
7f400632d2
commit
3f5d6e9e11
6
.gitignore
vendored
6
.gitignore
vendored
@ -3,3 +3,9 @@
|
|||||||
.lsp
|
.lsp
|
||||||
.cpcache
|
.cpcache
|
||||||
.nrepl-port
|
.nrepl-port
|
||||||
|
|
||||||
|
# SSL certificates and private keys
|
||||||
|
ssl/*.p12
|
||||||
|
ssl/*.key
|
||||||
|
ssl/*.jks
|
||||||
|
ssl/*.pem
|
||||||
|
|||||||
@ -52,6 +52,13 @@
|
|||||||
(run-jetty app (merge {:join? false, :port 80} opts)))
|
(run-jetty app (merge {:join? false, :port 80} opts)))
|
||||||
|
|
||||||
(defn -main [& _args]
|
(defn -main [& _args]
|
||||||
(make-server {:join? true}))
|
(let [keystore-path "ssl/keystore.p12"
|
||||||
|
keystore-password "changeit"]
|
||||||
|
(make-server {:join? true
|
||||||
|
:ssl? true
|
||||||
|
:ssl-port 443
|
||||||
|
:keystore keystore-path
|
||||||
|
:key-password keystore-password
|
||||||
|
:keystore-type "PKCS12"})))
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user