diff --git a/stack/monitor/monitor.cfg.in b/stack/monitor/monitor.cfg.in
index 8fb6c2f31e33d7eebce0232f99fb0914067c8cda..0b3b443de7cde30f2f2a9361d11aa77838486adb 100644
--- a/stack/monitor/monitor.cfg.in
+++ b/stack/monitor/monitor.cfg.in
@@ -245,7 +245,7 @@ input = inline:
     # XXX: security????
     Options +ExecCGI
     AddHandler cgi-script .cgi
-    DirectoryIndex $${deploy-index:rendered}
+    DirectoryIndex $${deploy-index:filename}
   </Directory>
 output = $${directory:etc}/cgi-httpd.conf
 # md5sum =
@@ -273,5 +273,5 @@ curl_path = ${curl:location}/bin/curl
 
 [publish-connection-informations]
 recipe = slapos.cookbook:publish
-monitor_url = https://[$${cgi-httpd-configuration-file:listening-ip}]:$${monitor-parameters:port}/$${deploy-index:filename}
+monitor_url = https://[$${cgi-httpd-configuration-file:listening-ip}]:$${monitor-parameters:port}
 IMPORTANT_monitor_info = Change the monitor_password as soon as possible ! Default is : $${public:monitor-password}