# rewrite ^(.*)$ https://example.com$uri permanent; # SSL ONLY