from django.contrib.sites.models import get_current_site

def site_url(request):
    domain = ''.join(['http://', get_current_site(request).domain])
    return { 'site_url': domain}
@@ -74,16 +74,73 @@
 quest):%0A
+    scheme = 'https' if request.is_secure() else 'http'%0A%0A
     doma
@@ -153,21 +153,25 @@
 '.join(%5B
-'http
+scheme, '
 ://', ge

Address Issue #135