This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-07-18
Channels
- # aleph (4)
- # beginners (70)
- # cider (66)
- # clara (16)
- # cljdoc (20)
- # cljs-dev (9)
- # cljsrn (2)
- # clojure (36)
- # clojure-ecuador (2)
- # clojure-italy (14)
- # clojure-japan (2)
- # clojure-nl (22)
- # clojure-uk (79)
- # clojurescript (133)
- # clojutre (2)
- # code-reviews (5)
- # cursive (5)
- # data-science (1)
- # datomic (47)
- # duct (2)
- # emacs (1)
- # figwheel-main (3)
- # fulcro (11)
- # funcool (1)
- # graphql (6)
- # hyperfiddle (4)
- # leiningen (4)
- # luminus (9)
- # lumo (8)
- # mount (4)
- # nrepl (2)
- # off-topic (19)
- # onyx (1)
- # re-frame (23)
- # reagent (91)
- # reitit (17)
- # ring-swagger (2)
- # shadow-cljs (43)
- # tools-deps (27)
- # vim (45)
Hello, I want to run luminus apps with https. So, I could try running my app with "-p 443" But I got this message $ lein run -p 443 2018-07-18 18:56:22,906 [main] INFO hogehoge.env - -=[hogehoge started successfully using the development profile]=- 2018-07-18 18:56:23,237 [main] INFO luminus.http-server - starting HTTP server on port 443 2018-07-18 18:56:23,243 [main] ERROR luminus.http-server - server failed to start onport443 java.net.SocketException: Permission denied How can I do HTTPS communication?
You're likely getting "permission denied" because the first 1023 port numbers are privileged.
Anyway, just by using the 443 port you won't get what you want.
You need to configure your http server properly and provide certificates (for immutant you may want to look at the ssl-port
option - see https://github.com/immutant/feature-demo)
A common way to do it is to introduce "ssl proxy" (e.g. nginx).
there are also some docs on setting up SSL here http://www.luminusweb.net/docs/deployment.html#setting_up_ssl
@e.tmailbank here you have some docs. http://www.luminusweb.net/docs/deployment.md
Look for Setting up SSL
I'd also suggest to use nginx as a proxy. Together with letsencrypt its really easy to setup https