Nightcoders icon indicating copy to clipboard operation
Nightcoders copied to clipboard

Enforcing SSL?

Open zerg000000 opened this issue 7 years ago • 4 comments

Currently, http://nightcoders.net/ serving on http, https would make visitors feel more safe to use.

zerg000000 avatar Apr 13 '18 11:04 zerg000000

Yeah I actually made an attempt early on to enable SSL but I had trouble getting the boot-reload web socket connection to work (which is used to do hot code reloading). I plan on making another attempt pretty soon though.

oakes avatar Apr 13 '18 11:04 oakes

On a totally unrelated note (I thought better to say this here than by adding noise by opening a new ticket)...

Great work, this!

I work full time with ClojureScript/Reagent and I keep rediscovering nightcoders.net every few months, whenever I feel a need to test something (reagent based, most times) out.

Thanks. Your work is appreciated.

gamecubate avatar Aug 22 '18 21:08 gamecubate

That is so good to hear - - I don't even have traffic logs so I have no idea if anyone is using it! I haven't forgotten about the SSL issue by the way, just been distracted.

oakes avatar Aug 23 '18 03:08 oakes

Off the top, you might want, in build.boot, to configure boot-reload to use the secure option. Something like this perhaps:

(deftask run []
  ...
 (reload :asset-path "public" :secure true)
 ...

Not sure though. Found this in boot-reload's git issues. I hope it helps.

gamecubate avatar Aug 25 '18 14:08 gamecubate