On Tue, Feb 8, 2011 at 5:05 PM, David J. <david at styleflare.com> wrote: > What is the best way to force all connections to use SSL? I use a separate server block like this: server { server_name example.com; rewrite ^ https://example.com$request_uri? break; }