I wrote a guide on this not too long ago.
https://vborg.vbsupport.ru/showthread.php?t=326118
If you follow that guide, this meta tag will turn all of your links from http to https automatically.... once the other steps are followed. So you won't have to worry about changing the url from ACP / Settings / Options / Site URL/...
Code:
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests" />