diff --git a/slapos/recipe/generate_erp5_tidstorage.py b/slapos/recipe/generate_erp5_tidstorage.py
index 42d2545e349f76d4e8394281dbb1022c9b2047b5..6a788077d004fec19a437dcfb4337966800f46a0 100644
--- a/slapos/recipe/generate_erp5_tidstorage.py
+++ b/slapos/recipe/generate_erp5_tidstorage.py
@@ -170,7 +170,10 @@ class Recipe(GenericSlapRecipe):
         server_check_path='/%s/getId' % site_id,
         haproxy_backend_list=' '.join(haproxy_backend_list),
         ssl_authentication=backend_configuration.get('ssl-authentication',
-          False)
+          False),
+        backend_path=backend_configuration.get('backend-path', '/') % {
+            'site-id': site_id}
+
       )
       current_apache_port += 1
       output += snippet_backend % backend_dict