Nevermind, figured it out by following this link:
But also adopting for https, since I have a valid SSL.