How to force HTTPS for the frontend URLs?

See also: