diff --git a/files/srv.mdx.incubator.geant.org.yaml b/files/srv.mdx.incubator.geant.org.yaml
index c0d0c0fd91b342c3a104195309f61aa65df19ed6..4b666fea398358b5308cd4a2a8956bf831ffbb28 100644
--- a/files/srv.mdx.incubator.geant.org.yaml
+++ b/files/srv.mdx.incubator.geant.org.yaml
@@ -69,3 +69,9 @@ data:
       - [ "193.224.22.78" ]
       - [ "145.100.180.185" ]
       - [ "62.217.72.109" ]
+  "proxy-edugain.nl":
+    "a":
+      - [ "62.217.72.109" ]
+  "proxy-test.nl":
+    "a":
+      - [ "62.217.72.109" ]
diff --git a/roles/apache/templates/md.conf.j2 b/roles/apache/templates/md.conf.j2
index 850b937481d33320a48a3b05c878cb64cc30ba15..66ac17b52405cf068f55ac927835299312128039 100644
--- a/roles/apache/templates/md.conf.j2
+++ b/roles/apache/templates/md.conf.j2
@@ -29,8 +29,8 @@
 {% endif %}
         DocumentRoot /var/www/html
         AllowEncodedSlashes NoDecode
-        ProxyPass "/" "http://127.0.0.1:5002/{{ realm }}" nocanon
-        ProxyPassReverse "/" "http://127.0.0.1:5002/{{ realm }}"
+        ProxyPass "/" "http://127.0.0.1:5002/{{ realm }}/" nocanon
+        ProxyPassReverse "/" "http://127.0.0.1:5002/{{ realm }}/"
 </VirtualHost>
 {% endfor %}
 {% endif %}