如何强制仅使用HTTPS?

如何强制仅使用HTTPS?

This question aims to provide a comprehensive actionable answer to questions 1, 2, and 3, but is worded in a manner that better fits with the guidelines and rules of a stackexchange site.