title: Clojure Compojure Ring and https
body: <p>I'm using Clojure (ring and compojure) to build a web app and I don't know where to start with https. I have a registration and login that will need to be secured, then once they're authenticated they'll need to stay in https. </p>
  
  <p>I can't seem to find a good tutorial on setting up https in general or for a clojure app specifically.</p>
  
  <p>I found this answer: <a href="https://stackoverflow.com/questions/18432832/how-do-you-enable-https-and-http-https-redirects-in-ring-compojure">How do you enable https and http-&gt;https redirects in ring / compojure</a></p>
  
  <p>Does that mean I can write my compojure app as if there's no https and have nginx sit in front and take care of all that for me?</p>