dimanche 15 mars 2015

How to force Spring Boot to redirect to https instead of http?

I use Spring Boot + Spring Security. We use nginx on production which proxy_pass requests to our application. The problem is that app redirects to http instead of https (when user logs out).


How to force Spring to redirect to https on production env and still redirect to http on dev env?


Aucun commentaire:

Enregistrer un commentaire