I just setup https for one of my websites and at the end of the process, certbot asked if I wanted to force https. I chose not to because I wasn’t sure if everything would work correctly over https. There are a couple issues I need to solve, but after that I’d like to force https.
How does certbot do this? Does it add code to the VirtualHost or something else? Thanks.