diff --git a/atdb/atdb/settings/base.py b/atdb/atdb/settings/base.py
index e5b0d5fced37ea0a06ab5f57e01f47db04986a74..7f1882103408201ec2991a3f17ee080745ea939f 100644
--- a/atdb/atdb/settings/base.py
+++ b/atdb/atdb/settings/base.py
@@ -216,7 +216,10 @@ SERVICES_LATE_WARNING_SECONDS = 1800
 
 # astronauth settings
 SITE_ID = 1
-ACCOUNT_DEFAULT_HTTP_PROTOCOL = 'https'
+
+#ACCOUNT_DEFAULT_HTTP_PROTOCOL = 'https'
+USE_X_FORWARDED_HOST = True
+SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
 
 AUTHENTICATION_BACKENDS = [
     # Needed to login by username in Django admin, regardless of `allauth`
@@ -241,7 +244,7 @@ SOCIALACCOUNT_PROVIDERS = {
 try:
     LOGIN_REDIRECT_URL = os.environ['LOGIN_REDIRECT_URL']
 except:
-    LOGIN_REDIRECT_URL = 'https://sdc.astron.nl:5554/atdb/'
+    LOGIN_REDIRECT_URL = '/atdb/'
 
 logger.info("LOGIN_REDIRECT_URL:" + LOGIN_REDIRECT_URL)
 logger.info("KEYCLOAK_URL:" + KEYCLOAK_URL)
diff --git a/atdb/taskdatabase/templates/taskdatabase/index.html b/atdb/taskdatabase/templates/taskdatabase/index.html
index b17c1fcfada954d4d2d9c7a9dec43f39557bff67..53d85761ada700916cc41c9a4d2c08fc2f0a460c 100644
--- a/atdb/taskdatabase/templates/taskdatabase/index.html
+++ b/atdb/taskdatabase/templates/taskdatabase/index.html
@@ -34,7 +34,7 @@
         {% include 'taskdatabase/pagination.html' %}
        </div>
     </div>
-    <p class="footer"> Version 7 Februari 2023
+    <p class="footer"> Version 9 Februari 2023
 
 </div>