我正在使用Clojure(ring和compojure)构建Web应用程序,但我不知道如何开始使用https。我有一个需要保护的注册和登录,一旦经过身份验证,它们就需要保持在https中。
我似乎找不到关于设置https的好教程,无论是一般还是针对Clojure应用程序的。
我找到了这个答案:How do you enable https and http->https redirects in ring / compojure 那是否意味着我可以像没有https一样编写我的compojure应用程序,并让nginx在前面处理所有内容?
我似乎找不到关于设置https的好教程,无论是一般还是针对Clojure应用程序的。
我找到了这个答案:How do you enable https and http->https redirects in ring / compojure 那是否意味着我可以像没有https一样编写我的compojure应用程序,并让nginx在前面处理所有内容?