We have already 301 redirect from http://example.com
to http://www.example.com
and now we have redirect to https://www.example.com/
Now, the question is do we have to use the canonical i.e
<link rel="canonical" href="https://www.example.com" />
or
<link rel="canonical" href="http://www.example.com" />
Which one to choose and why?