from django.conf import settings

def site_info(request):
    return {'DOMAIN_URL': settings.DOMAIN_URL}
@@ -96,9 +96,70 @@
 MAIN_URL
+,%0A            'SECURE_DOMAIN_URL': settings.SECURE_DOMAIN_URL
 %7D

secure domain as context processor