Nginx uses https proxy Spring boot to always jump to http

my spring boot only provides http access. The https, I configured in nginx found that login redirects automatically and redirect automatically jumps to http

I don"t want to configure ssl on spring boot

how to solve it? there are all spring boot configurations on the Internet and ssl cannot be configured in other ways. I don"t know if it is a version problem

.
Mar.21,2021

is SSL configured for Nginx? If configured, write a code

if ($scheme != 'https'){
        rewrite ......
}

go to Google according to this


configure spring boot and nginx forwarding headers

Menu