How to redirect http to https mender-api


I have the self-hosted mender running on aws. eg URL:

Using https works fine,
If I try to use http,, I expect the openresty to redirect it to https. But it’s not happening. I looked into the nginx config and see that the config to redirect is already present.

Should I need to configure something additional to redirect http to https for the mender URL?

Thanks & Regards,

Can you give more details as to what redirect address your browser is being handed.

You might want to use curl/wget to get more verbose logging on what’s happening.