Secure, encrypted communications are more important now than ever before. As a result, it’s not uncommon to want to force all website traffic to be sent over an ssl connection. How can this be accomplished? Nginx Configuration This one a bit more difficult to track down, as there seem to be a lot of ideas out there. Here’s what I found works. Obviously, substitute your domain name in the example below.