Fork me on GitHub
#ring
<
2017-02-09
>
ska09:02:26

Hi. Has anyone experience with running a ring/compojure app behind a proxy? In particular with using compojure contexts. I develop an app which locally listens on "/" and various URIs from there, some defined as (nested) contexts, which will be running behind an nginx which makes the app available as https://server/app-name/ ...

sineer13:02:59

Hi! I'm trying to launch jetty ring adapter through boot-http and I run into a strange error I can't figure out: HTTP ERROR: 500 Problem accessing /. Reason: java.lang.Exception: Found lib name 'clojure.pprint' containing period with prefix 'quote'. lib names inside prefix lists must not contain periods, compiling:(NO_SOURCE_PATH:0:0)

sineer13:02:05

... at ring.middleware.reload$wrap_reload$fn__1057.invoke(reload.clj:21)

sineer13:02:36

I can't find any more clue 😞 I don't use pprint and I can't find it being used anywhere either

sineer13:02:54

I'm sure it must be and I just can't find it...

thomas13:02:37

not sure if there is a lein deps :tree equivalent for boot..

thomas13:02:52

(I assume there is.... but have a google)

sineer13:02:55

that's a good question 🙂 I'll look

thomas14:02:14

that'd be a good starting point though I suspect

sineer14:02:53

boot show -d is equivalent to lein deps:tree but that's not going to help.. pprint is built-in clojure core and I can't see anything depending on it...

thomas16:02:26

When I do a lein ring uberjar my (compiled) js files in the resources dir get deleted for some reason. How can I make sure they get included in my uberjar?